Loading...
--- Libc/Libc-1534.40.2/include/langinfo.h
+++ Libc/Libc-583/include/langinfo.h
@@ -30,7 +30,11 @@
#define _LANGINFO_H_
#include <_types.h>
-#include <_types/_nl_item.h>
+
+#ifndef _NL_ITEM
+typedef __darwin_nl_item nl_item;
+#define _NL_ITEM
+#endif
#define CODESET 0 /* codeset name */
#define D_T_FMT 1 /* string for formatting date and time */
@@ -98,7 +102,7 @@
#define YESEXPR 52 /* affirmative response expression */
#define NOEXPR 53 /* negative response expression */
-#if (__DARWIN_C_LEVEL > __DARWIN_C_ANSI && __DARWIN_C_LEVEL < 200112L) || __DARWIN_C_LEVEL == __DARWIN_C_FULL
+#if !defined(_ANSI_SOURCE)
#define YESSTR 54 /* affirmative response for yes/no queries */
#define NOSTR 55 /* negative response for yes/no queries */
#endif