diff options
-rw-r--r-- | include/msapi/stdbool.h | 21 | ||||
-rw-r--r-- | protocols/Tox/include/tox.h | 2 | ||||
-rw-r--r-- | protocols/Tox/include/toxav.h | 2 | ||||
-rw-r--r-- | protocols/Tox/include/toxencryptsave.h | 2 |
4 files changed, 24 insertions, 3 deletions
diff --git a/include/msapi/stdbool.h b/include/msapi/stdbool.h new file mode 100644 index 0000000000..db5d31a544 --- /dev/null +++ b/include/msapi/stdbool.h @@ -0,0 +1,21 @@ +/* stdbool.h standard header */ + +#ifndef _STDBOOL +#define _STDBOOL + +#define __bool_true_false_are_defined 1 + +#ifndef __cplusplus + +#define bool _Bool +#define false 0 +#define true 1 + +#endif /* __cplusplus */ + +#endif /* _STDBOOL */ + +/* + * Copyright (c) 1992-2010 by P.J. Plauger. ALL RIGHTS RESERVED. + * Consult your license regarding permissions and restrictions. +V5.30:0009 */ diff --git a/protocols/Tox/include/tox.h b/protocols/Tox/include/tox.h index c697be64e9..bae84dd26c 100644 --- a/protocols/Tox/include/tox.h +++ b/protocols/Tox/include/tox.h @@ -24,7 +24,7 @@ #ifndef TOX_H #define TOX_H -#include <stdbool.h> +#include <msapi/stdbool.h> #include <stddef.h> #include <stdint.h> diff --git a/protocols/Tox/include/toxav.h b/protocols/Tox/include/toxav.h index 2e48d599ef..2a8b90fa5e 100644 --- a/protocols/Tox/include/toxav.h +++ b/protocols/Tox/include/toxav.h @@ -20,7 +20,7 @@ #ifndef TOXAV_H #define TOXAV_H -#include <stdbool.h> +#include <msapi/stdbool.h> #include <stddef.h> #include <stdint.h> diff --git a/protocols/Tox/include/toxencryptsave.h b/protocols/Tox/include/toxencryptsave.h index d13ebbc624..ef28f622e8 100644 --- a/protocols/Tox/include/toxencryptsave.h +++ b/protocols/Tox/include/toxencryptsave.h @@ -28,7 +28,7 @@ extern "C" { #endif -#include <stdbool.h> +#include <msapi/stdbool.h> #include <stddef.h> #include <stdint.h> |