-#ifdef _XOPEN_SOURCE
+#ifdef X_FMTMSG
#include <fmtmsg.h>
#define C(n) switch(n){case n:;}
static void f()
C(MM_NOTOK)
C(MM_NOMSG)
C(MM_NOCON)
-int(*p_fmtmsg)(long,const char*,int,const char*,const char*,const char*) = fmtmsg;
+{int(*p)(long,const char*,int,const char*,const char*,const char*) = fmtmsg;}
}
+#else
+static void f(){}
#endif