diff options
Diffstat (limited to 'libc/misc/internals')
-rw-r--r-- | libc/misc/internals/Makefile | 2 | ||||
-rw-r--r-- | libc/misc/internals/tempname.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile index a33afef60..1e772ce60 100644 --- a/libc/misc/internals/Makefile +++ b/libc/misc/internals/Makefile @@ -43,7 +43,7 @@ ar-target: $(OBJS) interp.c: Makefile echo "/* Force shared libraries to know about the correct library loader */" > interp.c echo "#include <features.h>" >> interp.c - echo "#ifdef HAVE_ELF" >> interp.c + echo "#ifdef __HAVE_ELF__" >> interp.c echo "const char __dl_ldso__[] __attribute__ ((section " \ "(\".interp\"))) =\""$(DYNAMIC_LINKER)"\";" >> interp.c echo "#endif" >> interp.c diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c index 31b16c18a..236a62e85 100644 --- a/libc/misc/internals/tempname.c +++ b/libc/misc/internals/tempname.c @@ -189,7 +189,7 @@ int __gen_tempname (char *tmpl, int kind) case __GT_FILE: fd = open (tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); break; -#if defined __UCLIBC_HAVE_LFS__ +#if defined __UCLIBC_HAS_LFS__ case __GT_BIGFILE: fd = open64 (tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); break; |