summaryrefslogtreecommitdiff
path: root/dev-util/dwdiff/files/C99-fix.patch
blob: 9d6d9ae2bca5195a76949a436f77c456cba7d25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/src/definitions.h
+++ b/src/definitions.h
@@ -43,11 +43,11 @@
 
 /*==== Misc definitions ====*/
 /* Define a bool type if not already defined (C++ and C99 do)*/
-#if !(defined(__cplusplus) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 19990601L))
+#if !(defined(__cplusplus) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L))
 /*@-incondefs@*/
 typedef enum {false, true} bool;
 /*@+incondefs@*/
-#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 19990601L
+#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
 #include <stdbool.h>
 #endif