X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=common.h;h=59268ae10f9371599fbbab8b5dcee27e53876f89;hp=069f67754eac4c2ab9e98fff23e6bc0f0fc3b137;hb=a7afb8a944789a03012c2c661d05895e95ac78c8;hpb=1aa8a0df26ef582dee4ffe3aa2f17f1f1a42b3c9 diff --git a/common.h b/common.h index 069f677..59268ae 100644 --- a/common.h +++ b/common.h @@ -1,17 +1,8 @@ #ifndef VOR_COMMON_H #define VOR_COMMON_H -#ifndef NULL -#define NULL 0 -#endif - -#ifndef true -#define true 1 -#endif - -#ifndef false -#define false 0 -#endif +#include +#include #ifndef max #define max(a, b) ((a) > (b) ? (a) : (b)) @@ -28,4 +19,8 @@ #define CONDERROR(a) if((a)) {initerror = strdup(SDL_GetError());return 1;} #define NULLERROR(a) CONDERROR((a) == NULL) +#ifdef WIN32 +# include +#endif + #endif // VOR_COMMON_H