Browse Source

Additional check for bool header definition

pull/305/head
Ray 7 years ago
parent
commit
5370fe18e0
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/raylib.h

+ 1
- 2
src/raylib.h View File

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

Loading…
Cancel
Save