summaryrefslogtreecommitdiff
path: root/posix/getopt.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-13 04:49:04 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-13 04:49:04 +0000
commit2a1ece14a516ff546f38f5e2a68a23f0cd8a6701 (patch)
tree58622494a246b1b4bf0ecc12138a0ae8e83e8b07 /posix/getopt.h
parent39007ae35d9deebe05465bb3aa73b08b8b94b35b (diff)
downloadglibc-2a1ece14a516ff546f38f5e2a68a23f0cd8a6701.tar.gz
Update.
2004-02-12 Ulrich Drepper <drepper@redhat.com> * posix/getopt.h: Add some non-gcc support. Patch by Aharon Robbins. 2004-02-12 Mark Brown <bmark@us.ibm.com> * sysdeps/ia64/fpu/e_fmodf.S: Added text of Intel license. * sysdeps/powerpc/fpu/s_lrint.c: Move to... * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: ... here. * sysdeps/powerpc/fpu/s_llrint.c: Move to... * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: ... here. * sysdeps/powerpc/fpu/s_llrintf.c: Move to... * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: ... here. * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: New file. * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file. * sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: New file.
Diffstat (limited to 'posix/getopt.h')
-rw-r--r--posix/getopt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/posix/getopt.h b/posix/getopt.h
index 53cb2baaf0..675d3a73ba 100644
--- a/posix/getopt.h
+++ b/posix/getopt.h
@@ -1,5 +1,6 @@
/* Declarations for getopt.
- Copyright (C) 1989-1994, 1996-1999,2001,2003 Free Software Foundation, Inc.
+ Copyright (C) 1989-1994,1996-1999,2001,2003,2004
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -35,6 +36,9 @@
#endif
#ifndef __THROW
+# ifndef __GNUC__
+# define __GNUC_PREREQ(maj, min) (0)
+# endif
# if defined __cplusplus && __GNUC_PREREQ (2,8)
# define __THROW throw ()
# else