From 702ae3290950210594c9e8f13793aaa05c1ab109 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 14 Mar 2008 21:49:02 +0000 Subject: * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Define HAVE_DL_DISCOVER_OSVERSION. * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Likewise. * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: Likewise. --- nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h') diff --git a/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h b/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h index 109ffd1cf6..ecad3ec3fd 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h @@ -1,5 +1,5 @@ /* System-specific settings for dynamic linker code. IA-32 version. - Copyright (C) 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2008 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 @@ -61,4 +61,13 @@ extern void _dl_sysinfo_int80 (void) attribute_hidden; ".previous;"); #endif + +/* The _dl_discover_osversion function is so far only needed in sysconf + to check for kernels later than 2.6.23. */ +#if !defined ASSEMBLER && __LINUX_KERNEL_VERSION < 0x020617 +/* Get version of the OS. */ +extern int _dl_discover_osversion (void) attribute_hidden; +# define HAVE_DL_DISCOVER_OSVERSION 1 +#endif +n #endif /* dl-sysdep.h */ -- cgit 1.4.1