Browse Source

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

`bool` is otherwise not defined in C.
Miguel de Icaza 4 năm trước cách đây
mục cha
commit
f02252e37d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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