commit | c8ad180983fb50c89179b7895896ad1f35cb885a | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Nov 19 03:17:46 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Nov 19 03:17:46 2014 +0000 |
tree | a7d5fe7bc76b41c2225cb7ffafc52ec1884191cf | |
parent | 0655d38b0c998f294ad52f1f8e84233a48046e97 [diff] | |
parent | 819b480b935a99fc8114b622644f42dec9e3a177 [diff] |
Merge "kill HAVE_MADVISE"
diff --git a/libutils/FileMap.cpp b/libutils/FileMap.cpp index 6d92f74..71f00dc 100644 --- a/libutils/FileMap.cpp +++ b/libutils/FileMap.cpp
@@ -196,7 +196,7 @@ // 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 @@ return cc; #else return -1; -#endif // HAVE_MADVISE +#endif }