comparison src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp @ 6918:0af5da0c9d9d

8001619: Remove usage of _ALLBSD_SOURCE in bsd files Reviewed-by: coleenp, dholmes
author sla
date Mon, 29 Oct 2012 21:04:17 +0100
parents f08d439fab8c
children
comparison
equal deleted inserted replaced
6917:e81fbc04a942 6918:0af5da0c9d9d
22 * 22 *
23 */ 23 */
24 24
25 #ifndef OS_CPU_BSD_X86_VM_BYTES_BSD_X86_INLINE_HPP 25 #ifndef OS_CPU_BSD_X86_VM_BYTES_BSD_X86_INLINE_HPP
26 #define OS_CPU_BSD_X86_VM_BYTES_BSD_X86_INLINE_HPP 26 #define OS_CPU_BSD_X86_VM_BYTES_BSD_X86_INLINE_HPP
27
28 #ifndef _ALLBSD_SOURCE
29 #include <byteswap.h>
30 #endif
31 27
32 #ifdef __APPLE__ 28 #ifdef __APPLE__
33 #include <libkern/OSByteOrder.h> 29 #include <libkern/OSByteOrder.h>
34 #endif 30 #endif
35 31