[Zlib-devel] [PATCH] Check on _LARGEFILE64_SOURCE and friends are too strict
John Bowler
jbowler at frontiernet.net
Thu Apr 1 16:51:29 EDT 2010
I said something which is wrong:
From: John Bowler [mailto:jbowler at frontiernet.net]
>a defined but empty pp-token is evaluated as "1"
I should have said a definition on the command line, e.g. -D_LARGEFILE64_SOURCE, defines the macro as "1", but if it's explicitly defined as empty:
#define _LARGEFILE64_SOURCE
Something like:
#if _LARGEFILE64_SOURCE
Will generate an error. We know that doesn't happen, however, because the current contents of zlib.h wouldn't work if _LARGEFILE64_SOURCE was #defined as empty either.
John Bowler <jbowler at acm.org>
More information about the Zlib-devel
mailing list