summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ef01d3a)
It's also unnecessary to define bool in C++ mode.
#include <stdio.h>
#include <stddef.h>
#include <stdio.h>
#include <stddef.h>
+#ifndef __cplusplus
+# if defined(_MSC_VER) && _MSC_VER < 1800 /* VS pre-2013? */
+ typedef unsigned char bool;
+# else
+# include <stdbool.h>
+# endif
+#endif
#include <stdint.h>
#include <time.h>
#include <stdint.h>
#include <time.h>