diff --git a/src/util.cpp b/src/util.cpp index d3fa5182f..93fefbac8 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -17,7 +17,7 @@ #ifndef WIN32 // for posix_fallocate -#ifdef __linux_ +#ifdef __linux__ #ifdef _POSIX_C_SOURCE #undef _POSIX_C_SOURCE @@ -26,7 +26,7 @@ #define _POSIX_C_SOURCE 200112L #include -#endif +#endif // __linux__ #include #include