Browse Source

Merge pull request #20 from procedural/cpp-fixes

Fixes for C++, bool type already defined
pull/23/head
Ray 10 years ago
parent
commit
387795311c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/raylib.h

+ 2
- 0
src/raylib.h View File

@ -178,8 +178,10 @@
// Types and Structures Definition // Types and Structures Definition
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
#ifndef __cplusplus
// Boolean type // Boolean type
typedef enum { false, true } bool; typedef enum { false, true } bool;
#endif
// byte type // byte type
typedef unsigned char byte; typedef unsigned char byte;

Loading…
Cancel
Save