aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bool.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>1999-06-28 08:56:01 +0000
committerFritz Elfert <felfert@to.com>1999-06-28 08:56:01 +0000
commit34b70b0b46e34a73308a4034cc9b1c70209b9eb4 (patch)
tree7abe8be40fde08828d3606e13c41435b2fc9a26c /lib/bool.h
parent3d3be141551bb4622da1cb610e4f6f798dd1715e (diff)
downloadplptools-34b70b0b46e34a73308a4034cc9b1c70209b9eb4.tar.gz
plptools-34b70b0b46e34a73308a4034cc9b1c70209b9eb4.tar.bz2
plptools-34b70b0b46e34a73308a4034cc9b1c70209b9eb4.zip
First import.
Diffstat (limited to 'lib/bool.h')
-rw-r--r--lib/bool.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/bool.h b/lib/bool.h
new file mode 100644
index 0000000..7525d6c
--- /dev/null
+++ b/lib/bool.h
@@ -0,0 +1,20 @@
+#ifndef _bool_h_
+#define _bool_h_
+
+#ifndef __GNUC__
+
+#ifndef bool
+#define bool int
+#endif
+
+#ifndef true
+#define true 1
+#endif
+
+#ifndef false
+#define false 0
+#endif
+
+#endif
+
+#endif