summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-07-15 22:21:33 +0000
committerwollman <wollman@FreeBSD.org>2002-07-15 22:21:33 +0000
commitf62ac07676e9db6fb746e3f0f176f816d2613882 (patch)
tree38abef9fc8162894f0df269e919284aeb7c7b573 /include
parente52f5b3dbcfcdd9075e1e0fa98e7772e29de9dfe (diff)
downloadFreeBSD-src-f62ac07676e9db6fb746e3f0f176f816d2613882.zip
FreeBSD-src-f62ac07676e9db6fb746e3f0f176f816d2613882.tar.gz
Support POSIX/SUS ``programming environment'' mistake in confstr().
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 7abf307..099cf53 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -167,6 +167,21 @@ int fchown(int, uid_t, gid_t);
int gethostname(char *, int /* socklen_t */);
int setegid(gid_t);
int seteuid(uid_t);
+
+/* X/Open mistake copied by POSIX */
+#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS 2
+#define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS 3
+#define _CS_POSIX_V6_ILP32_OFF32_LIBS 4
+#define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS 5
+#define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS 6
+#define _CS_POSIX_V6_ILP32_OFFBIG_LIBS 7
+#define _CS_POSIX_V6_LP64_OFF64_CFLAGS 8
+#define _CS_POSIX_V6_LP64_OFF64_LDFLAGS 9
+#define _CS_POSIX_V6_LP64_OFF64_LIBS 10
+#define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS 11
+#define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS 12
+#define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS 13
+#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 14
#endif
/*
OpenPOWER on IntegriCloud