]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/generic/constant.h
readme: update target related help
[xonotic/netradiant.git] / libs / generic / constant.h
index ab64ec393ca33ec3b10a04dd4dfcd18ff93dd8f8..e7e7ba04c47d35c79726b3208b83e62f7eff7358 100644 (file)
@@ -40,7 +40,7 @@ inline TextOutputStreamType& ostream_write( TextOutputStreamType& ostream, const
        return ostream_write( ostream, typename Type::Value( c ) );
 }
 
-#define TYPE_CONSTANT( name, value, type ) struct name ## _CONSTANT_ { typedef type Value; static Value evaluate() { return value; } }; typedef ConstantWrapper<name ## _CONSTANT_> name
+#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 )