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

31 lines
1.1 KiB
Diff
Raw Normal View History

2021-04-26 16:27:48 +00:00
diff -rupN --no-dereference libjpeg-turbo-2.1.0/win/jconfig.h.in libjpeg-turbo-2.1.0-new/win/jconfig.h.in
--- libjpeg-turbo-2.1.0/win/jconfig.h.in 2021-04-23 18:42:40.000000000 +0200
+++ libjpeg-turbo-2.1.0-new/win/jconfig.h.in 2021-04-26 18:21:31.722086767 +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
2021-01-28 13:46:14 +00:00
@@ -23,7 +23,7 @@
2018-07-31 23:07:16 +00:00
#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 */