[erlang-patches] R17.0-rc1 patch for gzio.c compile breakage.

Daniel Goertzen daniel.goertzen@REDACTED
Mon Feb 3 18:35:36 CET 2014


A dependency on zlib.h was recently removed (commit 8a147a7365).  This also
removes the definition of the macro "OF" which is required by gzio.c.  Now
"OF" is evidently defined by other headers on some systems, but on at least
Gentoo Linux this is not the case.

OF was needed to support compilation on now ancient C compilers.  I assume
R17 and newer doesn't need to support ancient C compilers.  See details at
http://stackoverflow.com/questions/7299310/of-macro-in-iowin32-h

The attached patch removes usage of OF in gzio.c

Regards,
Dan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20140203/992858b4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gzio_OF.patch
Type: text/x-patch
Size: 1104 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20140203/992858b4/attachment.bin>


More information about the erlang-patches mailing list