diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-06-12 02:15:11 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-06-12 02:15:11 +0000 |
commit | 69c1f07506ef56973b543c3ec111a4673c11f16c (patch) | |
tree | c290e80a383f9013715f2ace3e8c49ae7490c654 /include/features.h | |
parent | 7910749bb6b82696ad718f2ef75e9e181f1ad6f4 (diff) | |
download | uClibc-alpine-69c1f07506ef56973b543c3ec111a4673c11f16c.tar.bz2 uClibc-alpine-69c1f07506ef56973b543c3ec111a4673c11f16c.tar.xz |
Changed files for glibc compatibility so that more NPTL files would build.
Diffstat (limited to 'include/features.h')
-rw-r--r-- | include/features.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h index 0af6bf43b..07d19f1f5 100644 --- a/include/features.h +++ b/include/features.h @@ -280,6 +280,14 @@ # define __GLIBC_MINOR__ 2 #endif +/* + * NPTL requires this to be defined. Unfortunately, due to complexities + * in include dependencies, this cannot be defined on a per file basis. + */ +#ifdef __PTHREADS_NATIVE__ +# define __USE_XOPEN2K 1 +#endif + /* Convenience macros to test the versions of glibc and gcc. Use them like this: #if __GNUC_PREREQ (2,8) |