]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - qtypes.h
nothing to see here, move along...
[xonotic/darkplaces.git] / qtypes.h
index 5e1d5750e75d98aeb52fcae922342f1541d0d7a1..4e82c72a7a97ed73563217437faa7bbd1c1d2b7f 100644 (file)
--- a/qtypes.h
+++ b/qtypes.h
@@ -9,6 +9,10 @@ typedef unsigned char qbyte;
 
 typedef enum {false, true} qboolean;
 
+#if defined(WIN32) && !defined(WIN64)
+# 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