aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-15 14:05:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-15 14:05:07 +0000
commit95b84adb9b4b3270eb44d415be3d6bce00366729 (patch)
treefe63c6e882ca41f3091be6268097ad541ea461d3 /lib
parentb34d161703a65776b56eeacce088545abb57281b (diff)
precaution to prevent double typedefs of the bool
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 8530f0224..b893417a4 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -66,7 +66,7 @@
#define FALSE 0
#endif
-#if !defined(__cplusplus) && !defined(__BEOS__)
+#if !defined(__cplusplus) && !defined(__BEOS__) && !defined(typedef_bool)
typedef unsigned char bool;
#define typedef_bool
#endif