patch-2.0.1 linux/include/asm-alpha/byteorder.h

Next file: linux/include/asm-alpha/errno.h
Previous file: linux/fs/xiafs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/include/asm-alpha/byteorder.h linux/include/asm-alpha/byteorder.h
@@ -21,6 +21,9 @@
 
 extern unsigned long int	__ntohl(unsigned long int);
 extern unsigned short int	__ntohs(unsigned short int);
+
+#ifdef __GNUC__
+
 extern unsigned long int	__constant_ntohl(unsigned long int);
 extern unsigned short int	__constant_ntohs(unsigned short int);
 
@@ -100,6 +103,8 @@
 (__builtin_constant_p((short)(x)) ? \
  __constant_htons((x)) : \
  __htons((x)))
-#endif
+#endif /* __OPTIMIZE__ */
+
+#endif /* __GNUC__ */
 
-#endif
+#endif /* _ALPHA_BYTEORDER_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov