瀏覽代碼

Check to avoid bool redefinition

pull/365/head
Ray San 8 年之前
父節點
當前提交
399d4b5f46
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/raylib.h

+ 1
- 1
src/raylib.h 查看文件

@ -303,7 +303,7 @@
//----------------------------------------------------------------------------------
#ifndef __cplusplus
// Boolean type
#if !defined(_STDBOOL_H) || !defined(__STDBOOL_H) // CLang uses second form
#ifndef bool
typedef enum { false, true } bool;
#endif
#endif

Loading…
取消
儲存