X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qtypes.h;h=69600ec163868685e3a4e4e924747a436ba35f21;hb=0a05c446ba26bd5897645a37ceec8646c5bc93eb;hp=e385e286a7dffc73d8541b0e040f78dd683ae75d;hpb=88791418244fac4f32a0d821ff7d26e048611932;p=xonotic%2Fdarkplaces.git diff --git a/qtypes.h b/qtypes.h index e385e286..69600ec1 100644 --- a/qtypes.h +++ b/qtypes.h @@ -6,7 +6,7 @@ #include #include -typedef bool qboolean; +typedef bool qbool; #ifndef NULL #define NULL ((void *)0) @@ -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