aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--include/features.h2
-rw-r--r--linuxthreads/sysdeps/i386/Makefile4
3 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b9e5ea2651..bd37eafb6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2002-11-04 Ulrich Drepper <drepper@redhat.com>
+ * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION.
+ Reported by Miloslav Trmac <mitr@volny.cz> [PR libc/4766].
+
* manual/examples/dir.c: Don't include <stddef.h>.
* manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY.
Reported by Frédéric Delanoy <delanoy_f@yahoo.com>.
diff --git a/include/features.h b/include/features.h
index 366fcc5c6d..5e39b7fcc9 100644
--- a/include/features.h
+++ b/include/features.h
@@ -281,7 +281,7 @@
#if defined __GNUC__ \
|| (defined __PGI && defined __i386__ ) \
|| (defined __INTEL_COMPILER && (defined __i386__ || defined __ia64__)) \
- || (defined __STDC_VERSION && __STDC_VERSION >= 199901L)
+ || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
# define __GLIBC_HAVE_LONG_LONG 1
#endif
diff --git a/linuxthreads/sysdeps/i386/Makefile b/linuxthreads/sysdeps/i386/Makefile
index 854eacbd32..d6c3514196 100644
--- a/linuxthreads/sysdeps/i386/Makefile
+++ b/linuxthreads/sysdeps/i386/Makefile
@@ -11,8 +11,8 @@ CFLAGS-condvar.c += -fno-omit-frame-pointer
CFLAGS-join.c += -fno-omit-frame-pointer
CFLAGS-manager.c += -fno-omit-frame-pointer
CFLAGS-oldsemaphore.c += -fno-omit-frame-pointer
-CFLAGS-pthreads.c += -fno-omit-frame-pointer
+CFLAGS-pthread.c += -fno-omit-frame-pointer
CFLAGS-ptlongjmp.c += -fno-omit-frame-pointer
CFLAGS-semaphore.c += -fno-omit-frame-pointer
-CFLAGS-signals.c += -fno-omit-frame-pointer
+CFLAGS-sighandler.c += -fno-omit-frame-pointer
endif