summaryrefslogtreecommitdiff
path: root/win32/php_stdbool.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-12-09 10:39:03 +0000
committerPierre Joye <pajoye@php.net>2009-12-09 10:39:03 +0000
commitbf377f6aab9536d70eac24380ed472db7d789e96 (patch)
tree77dfaece4e7d84dcd35d4836d0138276402bca05 /win32/php_stdbool.h
parent6dff9d7632d6313782c15ce77a955ef1b249568a (diff)
downloadphp-git-bf377f6aab9536d70eac24380ed472db7d789e96.tar.gz
- #50334, add missing file
Diffstat (limited to 'win32/php_stdbool.h')
-rw-r--r--win32/php_stdbool.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/win32/php_stdbool.h b/win32/php_stdbool.h
new file mode 100644
index 0000000000..83c808f60e
--- /dev/null
+++ b/win32/php_stdbool.h
@@ -0,0 +1,11 @@
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+#if !defined(__BOOL_DEFINED)
+# define bool short
+
+/* The other macros must be usable in preprocessor directives. */
+# define false 0
+# define true 1
+# define __bool_true_false_are_defined 1
+# endif
+#endif /* _STDBOOL_H */