mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
tilegx: fix sysdep.h to avoid a redefinition warning
The symbol for HAVE_CLOCK_GETTIME_VSYSCALL was being only conditionally defined under [SHARED]. However, it turns out this causes a preprocessor symbol redefinition warning when building clock_gettime.o. Move the symbol definition down to make it unconditional, like other platforms do.
This commit is contained in:
@@ -252,9 +252,6 @@
|
||||
v_ret; \
|
||||
})
|
||||
|
||||
/* List of system calls which are supported as vsyscalls. */
|
||||
# define HAVE_CLOCK_GETTIME_VSYSCALL 1
|
||||
|
||||
# else
|
||||
# define INLINE_VSYSCALL(name, nr, args...) \
|
||||
INLINE_SYSCALL (name, nr, ##args)
|
||||
@@ -263,6 +260,9 @@
|
||||
# endif
|
||||
#endif /* not __ASSEMBLER__ */
|
||||
|
||||
/* List of system calls which are supported as vsyscalls. */
|
||||
#define HAVE_CLOCK_GETTIME_VSYSCALL 1
|
||||
|
||||
/* Pointer mangling support. */
|
||||
#if IS_IN (rtld)
|
||||
/* We cannot use the thread descriptor because in ld.so we use setjmp
|
||||
|
||||
Reference in New Issue
Block a user