summaryrefslogtreecommitdiff
path: root/src/common/swap.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-22 19:42:29 -0700
committerGravatar bunnei2014-04-22 19:42:29 -0700
commit7a136b8a84f9b21e120efe734f86725c46b8531b (patch)
tree23102d673fb6ab5a84e033d4360654d459fc41eb /src/common/swap.h
parentremoved duplicate rotl/rotr functions (diff)
downloadyuzu-7a136b8a84f9b21e120efe734f86725c46b8531b.tar.gz
yuzu-7a136b8a84f9b21e120efe734f86725c46b8531b.tar.xz
yuzu-7a136b8a84f9b21e120efe734f86725c46b8531b.zip
fixes to build on linux
Diffstat (limited to '')
-rw-r--r--src/common/swap.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/common/swap.h b/src/common/swap.h
index d07d9fcc5..123019fd1 100644
--- a/src/common/swap.h
+++ b/src/common/swap.h
@@ -497,27 +497,27 @@ typedef s64 s64_le;
497typedef float float_le; 497typedef float float_le;
498typedef double double_le; 498typedef double double_le;
499 499
500typedef swap_struct_t<u64, swap_64_t<u64>> u64_be; 500typedef swap_struct_t<u64, swap_64_t<u64> > u64_be;
501typedef swap_struct_t<s64, swap_64_t<s64>> s64_be; 501typedef swap_struct_t<s64, swap_64_t<s64> > s64_be;
502 502
503typedef swap_struct_t<u32, swap_32_t<u32>> u32_be; 503typedef swap_struct_t<u32, swap_32_t<u32> > u32_be;
504typedef swap_struct_t<s32, swap_32_t<s32>> s32_be; 504typedef swap_struct_t<s32, swap_32_t<s32> > s32_be;
505 505
506typedef swap_struct_t<u16, swap_16_t<u16>> u16_be; 506typedef swap_struct_t<u16, swap_16_t<u16> > u16_be;
507typedef swap_struct_t<s16, swap_16_t<s16>> s16_be; 507typedef swap_struct_t<s16, swap_16_t<s16> > s16_be;
508 508
509typedef swap_struct_t<float, swap_float_t<float> > float_be; 509typedef swap_struct_t<float, swap_float_t<float> > float_be;
510typedef swap_struct_t<double, swap_double_t<double> > double_be; 510typedef swap_struct_t<double, swap_double_t<double> > double_be;
511#else 511#else
512 512
513typedef swap_struct_t<u64, swap_64_t<u64>> u64_le; 513typedef swap_struct_t<u64, swap_64_t<u64> > u64_le;
514typedef swap_struct_t<s64, swap_64_t<s64>> s64_le; 514typedef swap_struct_t<s64, swap_64_t<s64> > s64_le;
515 515
516typedef swap_struct_t<u32, swap_32_t<u32>> u32_le; 516typedef swap_struct_t<u32, swap_32_t<u32> > u32_le;
517typedef swap_struct_t<s32, swap_32_t<s32>> s32_le; 517typedef swap_struct_t<s32, swap_32_t<s32> > s32_le;
518 518
519typedef swap_struct_t<u16, swap_16_t<u16>> u16_le; 519typedef swap_struct_t<u16, swap_16_t<u16> > u16_le;
520typedef swap_struct_t<s16, swap_16_t<s16>> s16_le; 520typedef swap_struct_t< s16, swap_16_t<s16> > s16_le;
521 521
522typedef swap_struct_t<float, swap_float_t<float> > float_le; 522typedef swap_struct_t<float, swap_float_t<float> > float_le;
523typedef swap_struct_t<double, swap_double_t<double> > double_le; 523typedef swap_struct_t<double, swap_double_t<double> > double_le;
@@ -532,4 +532,4 @@ typedef s64 s64_be;
532 532
533typedef float float_be; 533typedef float float_be;
534typedef double double_be; 534typedef double double_be;
535#endif \ No newline at end of file 535#endif