From 6737908f74ff566748864548cf35bb1da8e64af6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 31 Oct 2002 18:20:21 +0000 Subject: Ok, this commit is _huge_ and its gonna change the world. I've been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik --- libc/misc/internals/Makefile | 2 +- libc/misc/internals/tempname.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/misc/internals') 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 " >> 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; -- cgit v1.2.3