summaryrefslogtreecommitdiff
path: root/zutil.c
diff options
context:
space:
mode:
authorSebastian Pop <s.pop@samsung.com>2018-12-19 11:30:25 -0600
committerHans Kristian Rosbach <hk-github@circlestorm.org>2019-01-09 14:59:28 +0100
commitedde9bcf417ddbd86c6b376195dab2a3499655ef (patch)
tree2edc7fdd321d576ad0d09f24907011069706e6b0 /zutil.c
parentec85a0a5568712d2654fabe8dd3432bf8389349a (diff)
avoid double definitions for LITTLE_ENDIAN and BYTE_ORDER
When compiling with `cmake; make` the compiler used to warn about double definitions: ../gzendian.h:11:0: warning: "LITTLE_ENDIAN" redefined # define LITTLE_ENDIAN __ORDER_LITTLE_ENDIAN__ ^ In file included from /usr/include/x86_64-linux-gnu/bits/string2.h:51:0, from /usr/include/string.h:630, from ../zutil.h:24, from ../deflate.h:15, from ../functable.h:9, from ../functable.c:7: /usr/include/endian.h:45:0: note: this is the location of the previous definition # define LITTLE_ENDIAN __LITTLE_ENDIAN ^ In file included from ../deflate.h:16:0, from ../functable.h:9, from ../functable.c:7: ../gzendian.h:12:0: warning: "BYTE_ORDER" redefined # define BYTE_ORDER LITTLE_ENDIAN ^ In file included from /usr/include/x86_64-linux-gnu/bits/string2.h:51:0, from /usr/include/string.h:630, from ../zutil.h:24, from ../deflate.h:15, from ../functable.h:9, from ../functable.c:7: /usr/include/endian.h:48:0: note: this is the location of the previous definition # define BYTE_ORDER __BYTE_ORDER ^
Diffstat (limited to 'zutil.c')
0 files changed, 0 insertions, 0 deletions