mingw-libjpeg-turbo/libjpeg-turbo-match-autoconf-behavior.patch

31 lines
1.1 KiB
Diff
Raw Normal View History

2020-07-04 08:06:35 +00:00
diff -rupN --no-dereference libjpeg-turbo-2.0.5/win/jconfig.h.in libjpeg-turbo-2.0.5-new/win/jconfig.h.in
--- libjpeg-turbo-2.0.5/win/jconfig.h.in 2020-06-19 06:40:20.000000000 +0200
+++ libjpeg-turbo-2.0.5-new/win/jconfig.h.in 2020-07-04 09:54:58.390069926 +0200
2018-07-31 23:07:16 +00:00
@@ -9,13 +9,13 @@
2016-05-10 15:14:07 +00:00
#define BITS_IN_JSAMPLE @BITS_IN_JSAMPLE@ /* use 8 or 12 */
-#define HAVE_STDDEF_H
-#define HAVE_STDLIB_H
+#define HAVE_STDDEF_H 1
+#define HAVE_STDLIB_H 1
#undef NEED_SYS_TYPES_H
2018-07-31 23:07:16 +00:00
#undef NEED_BSD_STRINGS
-#define HAVE_UNSIGNED_CHAR
-#define HAVE_UNSIGNED_SHORT
+#define HAVE_UNSIGNED_CHAR 1
+#define HAVE_UNSIGNED_SHORT 1
#undef INCOMPLETE_TYPES_BROKEN
#undef RIGHT_SHIFT_IS_UNSIGNED
#undef __CHAR_UNSIGNED__
@@ -24,7 +24,7 @@
#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
typedef unsigned char boolean;
#endif
2018-07-31 23:07:16 +00:00
-#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
+#define HAVE_BOOLEAN 1 /* prevent jmorecfg.h from redefining it */
/* Define "INT32" as int, not long, per Windows custom */
#if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */