]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/qdata_heretic2/qcommon/angles.h
Centralise compile checks
[xonotic/netradiant.git] / tools / quake2 / qdata_heretic2 / qcommon / angles.h
index 8e8934461f3d809cd2607ace5215f4306f71954e..0d095c442ab62ad7200f4e0eed2ab89135105b28 100644 (file)
@@ -71,5 +71,6 @@
 
 #define SHORT_TO_ANGLE  ( 360.0 / 65536 )
 
-
+#if GDEF_COMPILER_MSVC
 #pragma warning(disable : 4305)     // 'initializing' : truncation from 'const double ' to 'float '
+#endif