On 06/01/2012 02:09 PM, Paolo Carlini wrote: >>> 4- Maybe I'm misremembering, sorry in case, but Isn't: >>> >>> #if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0 >>> >>> the same as: >>> >>> #if _FORTIFY_SOURCE > 0 >>> >>> ? >> >> I think you're right, but I'm just copying literally what GNU libc is doing. >> I can change it to the shorter version if you want me to. > I think we should yes.
The shorter version triggers an -Wundef warning if _FORTIFY_SOURCE is not defined. -- Pedro Alves