瀏覽代碼

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

`bool` is otherwise not defined in C.
Miguel de Icaza 4 年之前
父節點
當前提交
f02252e37d
共有 1 個文件被更改,包括 1 次插入0 次删除
  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