Skip to content
Snippets Groups Projects
Commit 3942f5f7 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

Clang: it may have already defined true/false

parent cc026cf5
No related branches found
No related tags found
1 merge request!2658WASM port
......@@ -156,6 +156,7 @@ typedef int32_t boolean;
#endif
#ifndef __cplusplus
#ifndef __bool_true_false_are_defined
#ifndef _WIN32
enum {false = 0, true = 1};
#else
......@@ -163,6 +164,7 @@ enum {false = 0, true = 1};
#define true TRUE
#endif
#endif
#endif
/* 7.18.2.1 Limits of exact-width integer types */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment