diff options
Diffstat (limited to 'textproc/source-highlight/files/patch-gl_stdbool.in.h')
-rw-r--r-- | textproc/source-highlight/files/patch-gl_stdbool.in.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/source-highlight/files/patch-gl_stdbool.in.h b/textproc/source-highlight/files/patch-gl_stdbool.in.h new file mode 100644 index 000000000000..a5f16565f4b5 --- /dev/null +++ b/textproc/source-highlight/files/patch-gl_stdbool.in.h @@ -0,0 +1,14 @@ +--- gl/stdbool.in.h.orig 2011-12-16 17:10:10 UTC ++++ gl/stdbool.in.h +@@ -105,11 +105,6 @@ typedef bool _Bool; + The only benefit of the enum, debuggability, is not important + with these compilers. So use 'signed char' and no enum. */ + # define _Bool signed char +-# else +- /* With this compiler, trust the _Bool type if the compiler has it. */ +-# if !@HAVE__BOOL@ +-typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; +-# endif + # endif + #endif + #define bool _Bool |