diff options
author | Mike Barcroft <mike@FreeBSD.org> | 2002-09-18 05:54:25 +0000 |
---|---|---|
committer | Mike Barcroft <mike@FreeBSD.org> | 2002-09-18 05:54:25 +0000 |
commit | 11142c6f5488b60ab8109f8a90f2294266758078 (patch) | |
tree | 89fb74e94552ad27e5d528256a131bd25b02e639 /include/langinfo.h | |
parent | f4a1f909c6649da6f4f2be4a6b2fea4de78f5de3 (diff) | |
download | src-11142c6f5488b60ab8109f8a90f2294266758078.tar.gz src-11142c6f5488b60ab8109f8a90f2294266758078.zip |
Notes
Diffstat (limited to 'include/langinfo.h')
-rw-r--r-- | include/langinfo.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/langinfo.h b/include/langinfo.h index 97904324e69f..59b50f9ce34c 100644 --- a/include/langinfo.h +++ b/include/langinfo.h @@ -30,7 +30,12 @@ #define _LANGINFO_H_ #include <sys/cdefs.h> -#include <nl_types.h> +#include <sys/_types.h> + +#ifndef _NL_ITEM_DECLARED +typedef __nl_item nl_item; +#define _NL_ITEM_DECLARED +#endif #define CODESET 0 /* codeset name */ #define D_T_FMT 1 /* string for formatting date and time */ @@ -97,12 +102,17 @@ #define YESEXPR 52 /* affirmative response expression */ #define NOEXPR 53 /* negative response expression */ + +#if __BSD_VISIBLE || __XSI_VISIBLE <= 500 #define YESSTR 54 /* affirmative response for yes/no queries */ #define NOSTR 55 /* negative response for yes/no queries */ +#endif #define CRNCYSTR 56 /* currency symbol */ +#if __BSD_VISIBLE #define D_MD_ORDER 57 /* month/day order (local extension) */ +#endif __BEGIN_DECLS char *nl_langinfo(nl_item); |