]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
fix cs_project and cs_unproject builtins, they were completely ignoring
[xonotic/darkplaces.git] / quakedef.h
index 2645945b0c74cb20627c0abe7946cadf5db5f5df..3ddf1c737e4c861c529fe735156b2a9ae33643b0 100644 (file)
@@ -30,8 +30,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #if defined(__GNUC__) && (__GNUC__ > 2)
 #define DP_FUNC_PRINTF(n) __attribute__ ((format (printf, n, n+1)))
+#define DP_FUNC_PURE      __attribute__ ((pure))
 #else
 #define DP_FUNC_PRINTF(n)
+#define DP_FUNC_PURE
 #endif
 
 #include <sys/types.h>