Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 819b480b authored by Yabin Cui's avatar Yabin Cui
Browse files

kill HAVE_MADVISE

Bug: 18397020
Change-Id: Ibc8d886d729c51932a403531888214de4e541452
parent 0655d38b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
}