X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fapi%2Ffmtmsg.c;h=46a24862d2f21cddc71f48b576880e44a4cf55ce;hb=ff1a08c16ea49fa2bd3260a3b327b5dcaa5d13a6;hp=b9ee7587862341d74e8d826286b778eaa96dc410;hpb=0ef2646848cbc2e6c59f8757165b5790b0132281;p=libc-test diff --git a/src/api/fmtmsg.c b/src/api/fmtmsg.c index b9ee758..46a2486 100644 --- a/src/api/fmtmsg.c +++ b/src/api/fmtmsg.c @@ -1,4 +1,4 @@ -#ifdef _XOPEN_SOURCE +#ifdef X_FMTMSG #include #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;} } +#else +static void f(){} #endif