aboutsummaryrefslogtreecommitdiff
path: root/src/platform/msc/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/msc/stdbool.h')
-rw-r--r--src/platform/msc/stdbool.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/platform/msc/stdbool.h b/src/platform/msc/stdbool.h
new file mode 100644
index 000000000..2e1a06732
--- /dev/null
+++ b/src/platform/msc/stdbool.h
@@ -0,0 +1,13 @@
+// Copyright (c) 2012-2013 The Cryptonote developers
+// Distributed under the MIT/X11 software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#pragma once
+
+#if !defined(__cplusplus)
+
+typedef int bool;
+#define true 1
+#define false 0
+
+#endif