]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/generic/constant.h
Remove -Wno-sign-compare
[xonotic/netradiant.git] / libs / generic / constant.h
index 83817947faf57d6add630748556ff968fb321079..ab64ec393ca33ec3b10a04dd4dfcd18ff93dd8f8 100644 (file)
@@ -43,6 +43,7 @@ inline TextOutputStreamType& ostream_write( TextOutputStreamType& ostream, const
 #define TYPE_CONSTANT( name, value, type ) struct name ## _CONSTANT_ { typedef type Value; static Value evaluate() { return value; } }; typedef ConstantWrapper<name ## _CONSTANT_> name
 #define STRING_CONSTANT( name, value ) TYPE_CONSTANT ( name, value, const char* )
 #define INTEGER_CONSTANT( name, value ) TYPE_CONSTANT ( name, value, int )
+#define UINT_CONSTANT( name, value ) TYPE_CONSTANT ( name, value, unsigned int )
 
 STRING_CONSTANT( EmptyString, "" );