aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cryptonote_basic/miner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/miner.h b/src/cryptonote_basic/miner.h
index ea669f7ea..dae8b4b63 100644
--- a/src/cryptonote_basic/miner.h
+++ b/src/cryptonote_basic/miner.h
@@ -37,7 +37,7 @@
#include "math_helper.h"
#ifdef _WIN32
#include <windows.h>
-#elif __linux__
+#elif defined(__linux__)
#include <unistd.h>
#include <sys/resource.h>
#include <sys/times.h>