projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math/gen: yet another little decimal formatting tool
[libc-test]
/
src
/
api
/
fmtmsg.c
diff --git
a/src/api/fmtmsg.c
b/src/api/fmtmsg.c
index
b9ee758
..
46a2486
100644
(file)
--- a/
src/api/fmtmsg.c
+++ b/
src/api/fmtmsg.c
@@
-1,4
+1,4
@@
-#ifdef
_XOPEN_SOURCE
+#ifdef
X_FMTMSG
#include <fmtmsg.h>
#define C(n) switch(n){case n:;}
static void f()
#include <fmtmsg.h>
#define C(n) switch(n){case n:;}
static void f()
@@
-24,4
+24,6
@@
C(MM_NOMSG)
C(MM_NOCON)
{int(*p)(long,const char*,int,const char*,const char*,const char*) = fmtmsg;}
}
C(MM_NOCON)
{int(*p)(long,const char*,int,const char*,const char*,const char*) = fmtmsg;}
}
+#else
+static void f(){}
#endif
#endif