ports/sysutils/dwdiff/patches/patch-src_definitions_h

20 lines
569 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Unbreak with icu4c >=68.1
--- src/definitions.h.orig Sun Dec 13 12:38:01 2020
+++ src/definitions.h Mon Dec 14 08:22:25 2020
@@ -42,14 +42,7 @@
#endif
/*==== Misc definitions ====*/
-/* Define a bool type if not already defined (C++ and C99 do)*/
-#if !(defined(__cplusplus) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L))
-/*@-incondefs@*/
-typedef enum {false, true} bool;
-/*@+incondefs@*/
-#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#include <stdbool.h>
-#endif
/*==== Configuration definitions ====*/
#ifndef NO_STRDUP