diff options
| author | 2014-04-22 19:42:29 -0700 | |
|---|---|---|
| committer | 2014-04-22 19:42:29 -0700 | |
| commit | 7a136b8a84f9b21e120efe734f86725c46b8531b (patch) | |
| tree | 23102d673fb6ab5a84e033d4360654d459fc41eb /src/common/swap.h | |
| parent | removed duplicate rotl/rotr functions (diff) | |
| download | yuzu-7a136b8a84f9b21e120efe734f86725c46b8531b.tar.gz yuzu-7a136b8a84f9b21e120efe734f86725c46b8531b.tar.xz yuzu-7a136b8a84f9b21e120efe734f86725c46b8531b.zip | |
fixes to build on linux
Diffstat (limited to '')
| -rw-r--r-- | src/common/swap.h | 26 |
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; | |||
| 497 | typedef float float_le; | 497 | typedef float float_le; |
| 498 | typedef double double_le; | 498 | typedef double double_le; |
| 499 | 499 | ||
| 500 | typedef swap_struct_t<u64, swap_64_t<u64>> u64_be; | 500 | typedef swap_struct_t<u64, swap_64_t<u64> > u64_be; |
| 501 | typedef swap_struct_t<s64, swap_64_t<s64>> s64_be; | 501 | typedef swap_struct_t<s64, swap_64_t<s64> > s64_be; |
| 502 | 502 | ||
| 503 | typedef swap_struct_t<u32, swap_32_t<u32>> u32_be; | 503 | typedef swap_struct_t<u32, swap_32_t<u32> > u32_be; |
| 504 | typedef swap_struct_t<s32, swap_32_t<s32>> s32_be; | 504 | typedef swap_struct_t<s32, swap_32_t<s32> > s32_be; |
| 505 | 505 | ||
| 506 | typedef swap_struct_t<u16, swap_16_t<u16>> u16_be; | 506 | typedef swap_struct_t<u16, swap_16_t<u16> > u16_be; |
| 507 | typedef swap_struct_t<s16, swap_16_t<s16>> s16_be; | 507 | typedef swap_struct_t<s16, swap_16_t<s16> > s16_be; |
| 508 | 508 | ||
| 509 | typedef swap_struct_t<float, swap_float_t<float> > float_be; | 509 | typedef swap_struct_t<float, swap_float_t<float> > float_be; |
| 510 | typedef swap_struct_t<double, swap_double_t<double> > double_be; | 510 | typedef swap_struct_t<double, swap_double_t<double> > double_be; |
| 511 | #else | 511 | #else |
| 512 | 512 | ||
| 513 | typedef swap_struct_t<u64, swap_64_t<u64>> u64_le; | 513 | typedef swap_struct_t<u64, swap_64_t<u64> > u64_le; |
| 514 | typedef swap_struct_t<s64, swap_64_t<s64>> s64_le; | 514 | typedef swap_struct_t<s64, swap_64_t<s64> > s64_le; |
| 515 | 515 | ||
| 516 | typedef swap_struct_t<u32, swap_32_t<u32>> u32_le; | 516 | typedef swap_struct_t<u32, swap_32_t<u32> > u32_le; |
| 517 | typedef swap_struct_t<s32, swap_32_t<s32>> s32_le; | 517 | typedef swap_struct_t<s32, swap_32_t<s32> > s32_le; |
| 518 | 518 | ||
| 519 | typedef swap_struct_t<u16, swap_16_t<u16>> u16_le; | 519 | typedef swap_struct_t<u16, swap_16_t<u16> > u16_le; |
| 520 | typedef swap_struct_t<s16, swap_16_t<s16>> s16_le; | 520 | typedef swap_struct_t< s16, swap_16_t<s16> > s16_le; |
| 521 | 521 | ||
| 522 | typedef swap_struct_t<float, swap_float_t<float> > float_le; | 522 | typedef swap_struct_t<float, swap_float_t<float> > float_le; |
| 523 | typedef swap_struct_t<double, swap_double_t<double> > double_le; | 523 | typedef swap_struct_t<double, swap_double_t<double> > double_le; |
| @@ -532,4 +532,4 @@ typedef s64 s64_be; | |||
| 532 | 532 | ||
| 533 | typedef float float_be; | 533 | typedef float float_be; |
| 534 | typedef double double_be; | 534 | typedef double double_be; |
| 535 | #endif \ No newline at end of file | 535 | #endif |