aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/basetypes/MCLog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/basetypes/MCLog.h')
-rw-r--r--src/core/basetypes/MCLog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/basetypes/MCLog.h b/src/core/basetypes/MCLog.h
index 95e227e7..5f3efdb5 100644
--- a/src/core/basetypes/MCLog.h
+++ b/src/core/basetypes/MCLog.h
@@ -3,10 +3,12 @@
#define MAILCORE_MCLOG_H
#include <stdio.h>
+#include <MailCore/MCUtils.h>
#define MCLog(...) MCLogInternal(NULL, __FILE__, __LINE__, 0, __VA_ARGS__)
#define MCLogStack(...) MCLogInternal(NULL, __FILE__, __LINE__, 1, __VA_ARGS__)
+MAILCORE_EXPORT
extern int MCLogEnabled;
#ifndef __printflike
@@ -16,6 +18,7 @@ extern int MCLogEnabled;
#ifdef __cplusplus
extern "C" {
#endif
+ MAILCORE_EXPORT
void MCLogInternal(const char * user,
const char * filename,
unsigned int line,