aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Paul Young <paulyoungonline@gmail.com>2013-07-03 00:04:57 -0400
committerGravatar Paul Young <paulyoungonline@gmail.com>2013-07-03 00:04:57 -0400
commit7f6923f520745ff9f1dd4df142de96ecbe64e045 (patch)
treeaf8259f66e5be5cb73e54eb0fc55e9419150b00e /src/core
parente50fcbb5dc3603c0138a3844aaf514373bb52938 (diff)
Updated type of MCLogEnabled to int instead of bool.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/basetypes/MCLog.c3
-rw-r--r--src/core/basetypes/MCLog.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/core/basetypes/MCLog.c b/src/core/basetypes/MCLog.c
index f3ce2318..8744f2dd 100644
--- a/src/core/basetypes/MCLog.c
+++ b/src/core/basetypes/MCLog.c
@@ -7,10 +7,9 @@
#include <sys/time.h>
#include <pthread.h>
#include <unistd.h>
-#include <stdbool.h>
static pid_t sPid = -1;
-bool MCLogEnabled = false;
+int MCLogEnabled = 0;
__attribute__((constructor))
static void initialize() {
diff --git a/src/core/basetypes/MCLog.h b/src/core/basetypes/MCLog.h
index f4e940e2..de75314f 100644
--- a/src/core/basetypes/MCLog.h
+++ b/src/core/basetypes/MCLog.h
@@ -10,7 +10,7 @@
namespace mailcore {
- extern bool MCLogEnabled;
+ extern int MCLogEnabled;
#ifndef __printflike
#define __printflike(a,b)