patch-2.2.16 linux/include/asm-sparc64/string.h
Next file: linux/include/linux/ac97_codec.h
Previous file: linux/include/asm-sparc64/envctrl.h
Back to the patch index
Back to the overall index
-  Lines: 15
-  Date:
Wed Jun  7 14:26:44 2000
-  Orig file: 
v2.2.15/linux/include/asm-sparc64/string.h
-  Orig date: 
Tue Oct 27 09:52:21 1998
diff -urN v2.2.15/linux/include/asm-sparc64/string.h linux/include/asm-sparc64/string.h
@@ -1,4 +1,4 @@
-/* $Id: string.h,v 1.14 1998/10/20 03:09:18 jj Exp $
+/* $Id: string.h,v 1.14.2.1 2000/05/27 04:46:42 davem Exp $
  * string.h: External definitions for optimized assembly string
  *           routines for the Linux Kernel.
  *
@@ -113,7 +113,7 @@
 
 extern __kernel_size_t __strlen(const char *);
 
-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 91
+#if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 91)
 extern __kernel_size_t strlen(const char *);
 #else /* !EGCS */
 /* Ugly but it works around a bug in our original sparc64-linux-gcc.  */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)