Merge pull request #20 from procedural/cpp-fixes

Fixes for C++, bool type already defined
This commit is contained in:
Ray 2015-02-06 00:21:37 +01:00
commit 387795311c

View File

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