X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=qtypes.h;h=480b1e7fd6a4583e81e0065049b578dc10775cc8;hp=5e1d5750e75d98aeb52fcae922342f1541d0d7a1;hb=61fd28b0877971a7600848ec0b15791e5765b76d;hpb=2e7e9acfa38289a2128b466db0561e2caa573ef8 diff --git a/qtypes.h b/qtypes.h index 5e1d5750..480b1e7f 100644 --- a/qtypes.h +++ b/qtypes.h @@ -9,6 +9,10 @@ typedef unsigned char qbyte; typedef enum {false, true} qboolean; +#ifdef WIN32 +# define ssize_t long +#endif + #ifndef NULL #define NULL ((void *)0) #endif @@ -18,13 +22,6 @@ typedef enum {false, true} qboolean; #define TRUE 1 #endif -//define PARANOID // speed sapping error checking -#ifdef _DEBUG -#define ASSERT(condition) if (!(condition)) Sys_Error("assertion (##condition) failed at " __FILE__ ":" __LINE__ "\n"); -#else -#define ASSERT(condition) -#endif - // up / down #define PITCH 0