diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-03-14 10:44:34 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-03-14 11:32:51 -0700 |
commit | 498a22333b835a598ccaed4656e97a0ec3573665 (patch) | |
tree | f02f8e2d4dcf1a93467f0747c56af83c74300101 /include/errno.h | |
parent | c7de50250367167d8c9f35594b264f6a0af8dd0c (diff) | |
download | glibc-498a22333b835a598ccaed4656e97a0ec3573665.tar.gz glibc-498a22333b835a598ccaed4656e97a0ec3573665.tar.xz glibc-498a22333b835a598ccaed4656e97a0ec3573665.zip |
Compile with -Wundef.
Diffstat (limited to 'include/errno.h')
-rw-r--r-- | include/errno.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h index f1b93a881b..dbf2a61e0d 100644 --- a/include/errno.h +++ b/include/errno.h @@ -6,6 +6,11 @@ # ifdef IS_IN_rtld # include <dl-sysdep.h> +# ifndef RTLD_PRIVATE_ERRNO +# error "dl-sysdep.h must define RTLD_PRIVATE_ERRNO!" +# endif +# else +# define RTLD_PRIVATE_ERRNO 0 # endif # if RTLD_PRIVATE_ERRNO |