|
@@ -8,7 +8,7 @@
|
|
#define MACH_PROTO_NCG_ASSERT_H
|
|
#define MACH_PROTO_NCG_ASSERT_H
|
|
|
|
|
|
#ifndef NDEBUG
|
|
#ifndef NDEBUG
|
|
-#define assert(x) if(!(x)) badassertion("x",__FILE__,__LINE__)
|
|
|
|
|
|
+#define assert(x) if(!(x)) badassertion( #x ,__FILE__,__LINE__)
|
|
#else
|
|
#else
|
|
#define assert(x) /* nothing */
|
|
#define assert(x) /* nothing */
|
|
#endif
|
|
#endif
|