diff options
Diffstat (limited to 'libutils/FileMap.cpp')
-rw-r--r-- | libutils/FileMap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libutils/FileMap.cpp b/libutils/FileMap.cpp index 6d92f742b..71f00dc23 100644 --- a/libutils/FileMap.cpp +++ b/libutils/FileMap.cpp @@ -196,7 +196,7 @@ try_again: // Provide guidance to the system. int FileMap::advise(MapAdvice advice) { -#if HAVE_MADVISE +#if !defined(_WIN32) int cc, sysAdvice; switch (advice) { @@ -216,5 +216,5 @@ int FileMap::advise(MapAdvice advice) return cc; #else return -1; -#endif // HAVE_MADVISE +#endif } |