From 7a136b8a84f9b21e120efe734f86725c46b8531b Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 22 Apr 2014 19:42:29 -0700 Subject: fixes to build on linux --- src/common/swap.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/common/swap.h') diff --git a/src/common/swap.h b/src/common/swap.h index d07d9fcc..123019fd 100644 --- a/src/common/swap.h +++ b/src/common/swap.h @@ -497,27 +497,27 @@ typedef s64 s64_le; typedef float float_le; typedef double double_le; -typedef swap_struct_t> u64_be; -typedef swap_struct_t> s64_be; +typedef swap_struct_t > u64_be; +typedef swap_struct_t > s64_be; -typedef swap_struct_t> u32_be; -typedef swap_struct_t> s32_be; +typedef swap_struct_t > u32_be; +typedef swap_struct_t > s32_be; -typedef swap_struct_t> u16_be; -typedef swap_struct_t> s16_be; +typedef swap_struct_t > u16_be; +typedef swap_struct_t > s16_be; typedef swap_struct_t > float_be; typedef swap_struct_t > double_be; #else -typedef swap_struct_t> u64_le; -typedef swap_struct_t> s64_le; +typedef swap_struct_t > u64_le; +typedef swap_struct_t > s64_le; -typedef swap_struct_t> u32_le; -typedef swap_struct_t> s32_le; +typedef swap_struct_t > u32_le; +typedef swap_struct_t > s32_le; -typedef swap_struct_t> u16_le; -typedef swap_struct_t> s16_le; +typedef swap_struct_t > u16_le; +typedef swap_struct_t< s16, swap_16_t > s16_le; typedef swap_struct_t > float_le; typedef swap_struct_t > double_le; @@ -532,4 +532,4 @@ typedef s64 s64_be; typedef float float_be; typedef double double_be; -#endif \ No newline at end of file +#endif -- cgit v1.2.3