public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93f542e
)
Correct assert definition to correctly display the faulty text instead of "x"
author
Manoel Trapier
<godzil@godzil.net>
Thu, 21 Mar 2013 16:39:00 +0000
(17:39 +0100)
committer
Manoël Trapier
<godzil@MacBook-Pro.home>
Wed, 24 Jun 2015 22:41:49 +0000
(23:41 +0100)
mach/proto/ncg/assert.h
patch
|
blob
|
history
diff --git
a/mach/proto/ncg/assert.h
b/mach/proto/ncg/assert.h
index
8b0ba07
..
ce0d6d5
100644
(file)
--- a/
mach/proto/ncg/assert.h
+++ b/
mach/proto/ncg/assert.h
@@
-8,7
+8,7
@@
#define MACH_PROTO_NCG_ASSERT_H
#ifndef NDEBUG
-#define assert(x) if(!(x)) badassertion(
"x"
,__FILE__,__LINE__)
+#define assert(x) if(!(x)) badassertion(
#x
,__FILE__,__LINE__)
#else
#define assert(x) /* nothing */
#endif