]> sourceware.org Git - glibc.git/commitdiff
Protect __STRING_INLINE against redefinition.
authorAndreas Jaeger <aj@suse.de>
Mon, 12 Mar 2001 08:21:29 +0000 (08:21 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 12 Mar 2001 08:21:29 +0000 (08:21 +0000)
sysdeps/s390/bits/string.h

index 6e5db9cde316c5aeef6c9a168c336c1f3c3bd791..791f93922544553936922662c8cd1dd6b44f6f13 100644 (file)
@@ -1,5 +1,5 @@
 /* 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).
    This file is part of the GNU C Library.
 
 #if !defined __NO_STRING_INLINES && defined __USE_STRING_INLINES \
     && defined __GNUC__ && __GNUC__ >= 2
 
-#ifdef __cplusplus
-# define __STRING_INLINE inline
-#else
-# define __STRING_INLINE extern __inline
+#ifndef __STRING_INLINE
+# ifdef __cplusplus
+#  define __STRING_INLINE inline
+# else
+#  define __STRING_INLINE extern __inline
+# endif
 #endif
 
 #define _HAVE_STRING_ARCH_strlen 1
This page took 0.047331 seconds and 5 git commands to generate.