diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-11 23:23:31 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-11 23:24:11 -0500 |
commit | 94046871d24d5408adaf61941a4751c77abe06b6 (patch) | |
tree | 5ad9237095d443c38aebbd482b59720f26083a20 /src/conf | |
parent | 6f592a7812de3190f567174bbb4baa40790831dd (diff) | |
download | musl-94046871d24d5408adaf61941a4751c77abe06b6.tar.gz musl-94046871d24d5408adaf61941a4751c77abe06b6.tar.bz2 musl-94046871d24d5408adaf61941a4751c77abe06b6.tar.xz musl-94046871d24d5408adaf61941a4751c77abe06b6.zip |
confstr: Add _CS_POSIX_V7_THREADS_*
This is used to determine what CFLAGS/LDFLAGS are needed to enable
compilation with threads on musl. We don't have any special ones, so
just return an empty string.
This is required to be present in <unistd.h>.
Diffstat (limited to 'src/conf')
-rw-r--r-- | src/conf/confstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/confstr.c b/src/conf/confstr.c index 02cb1aa2..3d417284 100644 --- a/src/conf/confstr.c +++ b/src/conf/confstr.c @@ -7,7 +7,7 @@ size_t confstr(int name, char *buf, size_t len) const char *s = ""; if (!name) { s = "/bin:/usr/bin"; - } else if ((name&~4U)!=1 && name-_CS_POSIX_V6_ILP32_OFF32_CFLAGS>33U) { + } else if ((name&~4U)!=1 && name-_CS_POSIX_V6_ILP32_OFF32_CFLAGS>35U) { errno = EINVAL; return 0; } |