Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
NL_LANGINFO.cpp
Go to the documentation of this file.
1// checking for nl_langinfo() in <langinfo.h>
2
3
25#include <langinfo.h>
26
27// compile and link to make sure nl_langinfo() is not only
28// declared, but also defined in one of the libraries we
29// link with
30int main (int argc, char *argv[])
31{
32 const char *d_t_fmt = nl_langinfo (D_T_FMT);
33
34 if (argc > 1)
35 return 0 != d_t_fmt;
36
37 return 0;
38}
#define main