Remove !__cplusplus directives

This commit is contained in:
Kp 2015-04-19 04:18:50 +00:00
parent 239f633356
commit 5c73a98827

View file

@ -52,27 +52,6 @@ typedef unsigned int uint;
#ifdef _MSC_VER
# include <stdlib.h> // this is where min and max are defined
#endif
#ifndef __cplusplus
#ifndef min
#define min(a,b) (((a)>(b))?(b):(a))
#endif
#ifndef max
#define max(a,b) (((a)<(b))?(b):(a))
#endif
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
#ifndef bool
//define a boolean
typedef ubyte bool;
#endif
#ifndef NULL
#define NULL 0
#endif
#endif
// the following stuff has nothing to do with types but needed everywhere,
// and since this file is included everywhere, it's here.