diff options
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-librecon.h | 12 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/dl-librecon.h | 5 |
2 files changed, 8 insertions, 9 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-librecon.h b/sysdeps/unix/sysv/linux/dl-librecon.h index afe1ec4b72..97de79640d 100644 --- a/sysdeps/unix/sysv/linux/dl-librecon.h +++ b/sysdeps/unix/sysv/linux/dl-librecon.h @@ -1,5 +1,5 @@ /* Optional code to distinguish library flavours. - Copyright (C) 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jakub@redhat.com>, 2001. @@ -44,12 +44,12 @@ _dl_osversion_init (char *assume_kernel) } /* Recognizing extra environment variables. */ -#define EXTRA_LD_ENVVARS EXTRA_LD_ENVVARS_LINUX -#define EXTRA_LD_ENVVARS_LINUX \ - case 13: \ +#define EXTRA_LD_ENVVARS_13 \ if (memcmp (envline, "ASSUME_KERNEL", 13) == 0) \ - _dl_osversion_init (&envline[14]); \ - break; \ + { \ + _dl_osversion_init (&envline[14]); \ + break; \ + } #define DL_OSVERSION_INIT \ do { \ diff --git a/sysdeps/unix/sysv/linux/i386/dl-librecon.h b/sysdeps/unix/sysv/linux/i386/dl-librecon.h index 3163c58103..f5a9f65166 100644 --- a/sysdeps/unix/sysv/linux/i386/dl-librecon.h +++ b/sysdeps/unix/sysv/linux/i386/dl-librecon.h @@ -1,5 +1,5 @@ /* Optional code to distinguish library flavours. - Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. @@ -48,8 +48,7 @@ while (0) /* Recognizing extra environment variables. */ -#undef EXTRA_LD_ENVVARS -#define EXTRA_LD_ENVVARS EXTRA_LD_ENVVARS_LINUX \ +#define EXTRA_LD_ENVVARS \ case 15: \ if (memcmp (envline, "LIBRARY_VERSION", 15) == 0) \ GL(dl_correct_cache_id) = envline[16] == '5' ? 2 : 3; \ |