mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-04 03:22:14 +03:00
Protect __STRING_INLINE against redefinition.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/* Optimized, inlined string functions. s390 version.
|
/* Optimized, inlined string functions. s390 version.
|
||||||
Copyright (C) 2000 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||||
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
|
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@@ -31,10 +31,12 @@
|
|||||||
#if !defined __NO_STRING_INLINES && defined __USE_STRING_INLINES \
|
#if !defined __NO_STRING_INLINES && defined __USE_STRING_INLINES \
|
||||||
&& defined __GNUC__ && __GNUC__ >= 2
|
&& defined __GNUC__ && __GNUC__ >= 2
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifndef __STRING_INLINE
|
||||||
# define __STRING_INLINE inline
|
# ifdef __cplusplus
|
||||||
#else
|
# define __STRING_INLINE inline
|
||||||
# define __STRING_INLINE extern __inline
|
# else
|
||||||
|
# define __STRING_INLINE extern __inline
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _HAVE_STRING_ARCH_strlen 1
|
#define _HAVE_STRING_ARCH_strlen 1
|
||||||
|
Reference in New Issue
Block a user