changeset 514:fbb14533a50b

. Use the right bswap macro names on Mac OS X. Submitted by: Xiaobin Lu <Xiaobin.Lu@Sun.COM>
author glewis@misty.eyesbeyond.com
date Sun, 04 Jan 2009 21:05:53 -0800
parents 7799fd334445
children 934aeb6514ae
files src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp	Sun Jan 04 21:04:54 2009 -0800
+++ b/src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp	Sun Jan 04 21:05:53 2009 -0800
@@ -32,9 +32,9 @@
 
 #if defined(AMD64)
 #  if defined(__APPLE__)
-#    define bswap16(x)	OSSwapInt16(x)
-#    define bswap32(x)	OSSwapInt32(x)
-#    define bswap64(x)	OSSwapInt64(x)
+#    define bswap_16(x)	OSSwapInt16(x)
+#    define bswap_32(x)	OSSwapInt32(x)
+#    define bswap_64(x)	OSSwapInt64(x)
 #  elif defined(__OpenBSD__)
 #    define bswap_16(x)	swap16(x)
 #    define bswap_32(x)	swap32(x)