aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/miner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptonote_basic/miner.h')
-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>