am c8ad1809: Merge "kill HAVE_MADVISE"
* commit 'c8ad180983fb50c89179b7895896ad1f35cb885a': kill HAVE_MADVISE
This commit is contained in:
commit
ad450e6361
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue