Browse Source

Fixes for C++

pull/20/head
Constantine Tarasenkov 10 years ago
parent
commit
ab12193f10
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      src/raylib.h
  2. +1
    -0
      src/utils.c

+ 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;

+ 1
- 0
src/utils.c View File

@ -27,6 +27,7 @@
* *
**********************************************************************************************/ **********************************************************************************************/
#include "raylib.h"
#include "utils.h" #include "utils.h"
#if defined(PLATFORM_ANDROID) #if defined(PLATFORM_ANDROID)

Loading…
Cancel
Save