mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
Don't declare _dl_discover_osversion only for older kernels.
This commit is contained in:
parent
7385c04c8c
commit
f188d8f55c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user