Browse Source

Check to avoid bool redefinition

pull/365/head
Ray San 7 years ago
parent
commit
399d4b5f46
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/raylib.h

+ 1
- 1
src/raylib.h View File

@ -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…
Cancel
Save