]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - qtypes.h
stop searching for a server port when one is found
[xonotic/darkplaces.git] / qtypes.h
index 5e1d5750e75d98aeb52fcae922342f1541d0d7a1..480b1e7fd6a4583e81e0065049b578dc10775cc8 100644 (file)
--- 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