mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-20 16:43:03 +03:00
Don't declare _dl_discover_osversion only for older kernels.
This commit is contained in:
@ -27,9 +27,7 @@
|
||||
#define NEED_DL_SYSINFO_DSO 1
|
||||
|
||||
|
||||
/* 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
|
||||
#ifndef __ASSEMBLER__
|
||||
/* Get version of the OS. */
|
||||
extern int _dl_discover_osversion (void) attribute_hidden;
|
||||
# define HAVE_DL_DISCOVER_OSVERSION 1
|
||||
|
Reference in New Issue
Block a user