Przeglądaj źródła

C conformance: Include stdbool.h to define `bool`

`bool` is otherwise not defined in C.
Miguel de Icaza 4 lat temu
rodzic
commit
f02252e37d
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      modules/gdnative/include/gdnative/math_defs.h

+ 1 - 0
modules/gdnative/include/gdnative/math_defs.h

@@ -35,6 +35,7 @@
 extern "C" {
 #endif
 
+#include <stdbool.h>
 #include <stdint.h>
 
 ////// bool