]> jfr.im git - irc/atheme/libmowgli-2.git/commitdiff
Use C99 compliant stringification
authorPatrick McFarland <redacted>
Tue, 5 Feb 2013 10:52:34 +0000 (05:52 -0500)
committerPatrick McFarland <redacted>
Tue, 5 Feb 2013 10:52:34 +0000 (05:52 -0500)
src/libmowgli/core/assert.h

index 5c55e8113dc0b52daa02b3db6257906fc0da0494..2452c7a71b0326696fdc921d83e53c10d7205a65 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef __MOWGLI_ASSERT_H__
 #define __MOWGLI_ASSERT_H__
 
-#define _assert_msg(exp) "assertion '#exp' failed."
+#define _assert_msg(exp) "assertion '" #exp  "' failed."
 
 #define soft_assert(exp) \
        do { \