diff options
author | Michele Calgaro <[email protected]> | 2018-10-11 23:28:40 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-10-11 23:28:40 +0900 |
commit | 0edd7fb3c63b3b794124646e0aa5548cd12b051e (patch) | |
tree | d886ede82efe40649c60e575a8725ba8b2c3a521 /kernel/kls_png/ksquirrel-libs-png | |
parent | 4ed11b8c9588056f838145a16b30d176e76d3b32 (diff) | |
download | libksquirrel-0edd7fb3c63b3b794124646e0aa5548cd12b051e.tar.gz libksquirrel-0edd7fb3c63b3b794124646e0aa5548cd12b051e.zip |
Replaced _BSD_SOURCE with _DEFAULT_SOURCE. Removed AC_CHECK_GNU_EXTENSIONS.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kernel/kls_png/ksquirrel-libs-png')
-rw-r--r-- | kernel/kls_png/ksquirrel-libs-png/pngconf.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/kernel/kls_png/ksquirrel-libs-png/pngconf.h b/kernel/kls_png/ksquirrel-libs-png/pngconf.h index 12a1848..cfd61bf 100644 --- a/kernel/kls_png/ksquirrel-libs-png/pngconf.h +++ b/kernel/kls_png/ksquirrel-libs-png/pngconf.h @@ -306,36 +306,8 @@ # define PNG_SETJMP_SUPPORTED #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 - /* If you encounter a compiler error here, see the explanation - * near the end of INSTALL. - */ - __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 # include <strings.h> #else |