aboutsummaryrefslogtreecommitdiff
path: root/include/tpm2/bool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tpm2/bool.h')
-rw-r--r--include/tpm2/bool.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/tpm2/bool.h b/include/tpm2/bool.h
new file mode 100644
index 0000000..6e58145
--- /dev/null
+++ b/include/tpm2/bool.h
@@ -0,0 +1,19 @@
+// This file was extracted from the TCG Published
+// Trusted Platform Module Library
+// Part 4: Supporting Routines
+// Family "2.0"
+// Level 00 Revision 01.16
+// October 30, 2014
+
+#ifndef _BOOL_H
+#define _BOOL_H
+#if defined(TRUE)
+#undef TRUE
+#endif
+#if defined FALSE
+#undef FALSE
+#endif
+typedef int BOOL;
+#define FALSE ((BOOL)0)
+#define TRUE ((BOOL)1)
+#endif