diff options
author | Dion Ahmetaj <Dion Ahmetaj> | 2017-02-05 09:10:03 -0500 |
---|---|---|
committer | Dion Ahmetaj <Dion Ahmetaj> | 2017-02-10 18:07:41 -0500 |
commit | 23c73269caec8638eab8ae8107f91aa06c0f3431 (patch) | |
tree | 3f986f4aed54ac2a872d87bbf4ff674b977ec3e4 | |
parent | Cleaned up some logging. Thanks to moneromooo for help. (diff) | |
download | monero-23c73269caec8638eab8ae8107f91aa06c0f3431.tar.xz |
Use defined directive to silence pre-proc warnings.
-rw-r--r-- | src/cryptonote_basic/miner.h | 2 |
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> |