Alle mercoledì 21 settembre 2011, Con Kolivas ha scritto: > > | As the problem is Hurd specific, we want stricter[*]: > > | __gnu_hurd__
Note this is not considered the "official" #define for GNU/Hurd, which is __GNU__. > > Ah, I take it back. In the thread later[*]: > > ‘__GNU__’ is only defined on GNU/Hurd, whereas ‘__GLIBC__’ is > > defined > > > > on all GNU variants. To be precise, __GLIBC__ indicates the GNU C library, and it is defined by the glibc headers (unlike the OS macros, defined by the compiled itself). See also <http://predef.sourceforge.net/prelib.html>. > It turns out mremap is linux specific only so I've inverted the test > entirely for !linux and pushed the fix to git. Thanks! -- Pino Toscano
signature.asc
Description: This is a digitally signed message part.