summaryrefslogtreecommitdiff
path: root/examples/alsa_timed_audio/bool.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/alsa_timed_audio/bool.h')
-rw-r--r--examples/alsa_timed_audio/bool.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/alsa_timed_audio/bool.h b/examples/alsa_timed_audio/bool.h
new file mode 100644
index 00000000..570b8e9a
--- /dev/null
+++ b/examples/alsa_timed_audio/bool.h
@@ -0,0 +1,12 @@
+#ifndef BOOL_H
+#define BOOL_H
+
+typedef _Bool bool;
+
+typedef enum
+{
+ true = -1,
+ false = 0,
+} _bool_t;
+
+#endif/*BOOL_H*/