[Zlib-devel] zlib short macro names

Mike Frysinger vapier at gentoo.org
Fri Sep 16 17:27:32 EDT 2011

zlib sets up a few helpers for compatibility with older compilers like "OF" 
and "ON".  this breaks packages that utilize "OFF" and "ON" already.  while 
coding style is debatable here with these projects, zlib should be better at 
not polluting imo.

rather than using "ON()" and "OF()", how about "_Z_ON()" and "_Z_OF()" ?  the 
zlib header has already claimed the Z_xxx name space, so this should naturally 
line up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.madler.net/pipermail/zlib-devel_madler.net/attachments/20110916/d7252ea1/attachment.bin>

More information about the Zlib-devel mailing list