]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - qdefs.h
cmd: Check for empty cbuf when inserting too
[xonotic/darkplaces.git] / qdefs.h
diff --git a/qdefs.h b/qdefs.h
index 5eed8b6f69a633cd33691ea23a5a2caca972ac46..9371f06eecc703be1efc0afb15305e2ffcf729f8 100644 (file)
--- a/qdefs.h
+++ b/qdefs.h
@@ -9,24 +9,18 @@
 #define DP_FUNC_PRINTF(n) __attribute__ ((format (printf, n, n+1)))
 #define DP_FUNC_PURE      __attribute__ ((pure))
 #define DP_FUNC_NORETURN  __attribute__ ((noreturn))
-#define DP_FUNC_ALWAYSINLINE inline __attribute__((always_inline))
+#define DP_FUNC_ALWAYS_INLINE inline __attribute__((always_inline))
 #else
 #define DP_FUNC_PRINTF(n)
 #define DP_FUNC_PURE
 #define DP_FUNC_NORETURN
 # if defined (_MSC_VER)
-# define DP_FUNC_ALWAYSINLINE __forceinline
+# define DP_FUNC_ALWAYS_INLINE __forceinline
 # else
 # define DP_FUNC_ALWAYS_INLINE inline
 # endif
 #endif
 
-#ifdef DP_GCC_COMPATIBLE
-#define Q_typeof(var) typeof(var)
-#elif defined (_MSC_VER)
-#define Q_typeof(var) decltype(var)
-#endif
-
 #define MAX_NUM_ARGVS  50
 
 #ifdef DP_SMALLMEMORY