diff options
author | Michele Calgaro <[email protected]> | 2018-10-08 20:42:42 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-10-08 20:42:42 +0900 |
commit | c485764cd4d94f272538d7228373fb039f427265 (patch) | |
tree | 09553f478c1b2d73ab180db1e34751318c195923 /src/3rdparty/libpng | |
parent | 230ed5e400ea4276d927570a7781cfcb5c7a534a (diff) | |
download | qt3-c485764cd4d94f272538d7228373fb039f427265.tar.gz qt3-c485764cd4d94f272538d7228373fb039f427265.zip |
Replaced _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE with _DEFAULT_SOURCE.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/3rdparty/libpng')
-rw-r--r-- | src/3rdparty/libpng/pngconf.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/3rdparty/libpng/pngconf.h b/src/3rdparty/libpng/pngconf.h index bd5d1c4..19ccaf1 100644 --- a/src/3rdparty/libpng/pngconf.h +++ b/src/3rdparty/libpng/pngconf.h @@ -246,30 +246,8 @@ #endif #ifdef PNG_SETJMP_SUPPORTED -/* This is an attempt to force a single setjmp behaviour on Linux. If - * the X config stuff didn't define _BSD_SOURCE we wouldn't need this. - */ - -# ifdef __linux__ -# ifdef _BSD_SOURCE -# define PNG_SAVE_BSD_SOURCE -# undef _BSD_SOURCE -# endif -# ifdef _SETJMP_H - __png.h__ already includes setjmp.h; - __dont__ include it again.; -# endif -# endif /* __linux__ */ - /* include setjmp.h for error handling */ # include <setjmp.h> - -# ifdef __linux__ -# ifdef PNG_SAVE_BSD_SOURCE -# define _BSD_SOURCE -# undef PNG_SAVE_BSD_SOURCE -# endif -# endif /* __linux__ */ #endif /* PNG_SETJMP_SUPPORTED */ #ifdef BSD |