]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - qtypes.h
Improve clang support. Add tcc support. Clang builds now perform as good as gcc
[xonotic/darkplaces.git] / qtypes.h
index e385e286a7dffc73d8541b0e040f78dd683ae75d..7bbc212d578e68b275606b64cdbff910dd055011 100644 (file)
--- a/qtypes.h
+++ b/qtypes.h
@@ -21,7 +21,7 @@ typedef bool qboolean;
 // fall over
 #define        ROLL    2
 
-#if defined(__GNUC__) || (defined(_MSC_VER) && _MSC_VER >= 1400)
+#if defined(__GNUC__) || (__clang__) || (__TINYC__) || (_MSC_VER >= 1400)
 #define RESTRICT __restrict
 #else
 #define RESTRICT