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 /src/cryptonote_basic | |
| parent | d2c7d0f6b0d0cef224f6a2390fa33c3018847a44 (diff) | |
| download | monzero-core-23c73269caec8638eab8ae8107f91aa06c0f3431.tar.gz monzero-core-23c73269caec8638eab8ae8107f91aa06c0f3431.tar.xz monzero-core-23c73269caec8638eab8ae8107f91aa06c0f3431.zip | |
Use defined directive to silence pre-proc warnings.
Diffstat (limited to 'src/cryptonote_basic')
| -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> |
