diff options
| author | bunnei <bunneidev@gmail.com> | 2014-05-19 21:46:57 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2014-05-19 21:46:57 -0400 |
| commit | 204c6bfeca2d3bccfe6602699c0b3420f88aaf07 (patch) | |
| tree | 4ece05e69f90f50e3390eb93a0790180aafcdbc6 /src/common/common_types.h | |
| parent | b5d2ff9b26560b3f2bfdcd311ada661313eaba83 (diff) | |
| parent | 5a8ed196e6e9416134a85fbc7da14fed3af307e4 (diff) | |
Merge pull request #2 from archshift/issue-7-fix
Fixes issues with building Citra on OSX
Diffstat (limited to 'src/common/common_types.h')
| -rw-r--r-- | src/common/common_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/common_types.h b/src/common/common_types.h index 4289b88d3..402410507 100644 --- a/src/common/common_types.h +++ b/src/common/common_types.h @@ -62,7 +62,7 @@ typedef signed long long s64; ///< 64-bit signed int typedef float f32; ///< 32-bit floating point typedef double f64; ///< 64-bit floating point -#include "common/swap.h" +#include "common/common.h" /// Union for fast 16-bit type casting union t16 { @@ -100,6 +100,7 @@ union t128 { __m128 a; ///< 128-bit floating point (__m128 maps to the XMM[0-7] registers) }; +namespace common { /// Rectangle data structure class Rect { public: @@ -123,3 +124,4 @@ public: return (x0_ == val.x0_ && y0_ == val.y0_ && x1_ == val.x1_ && y1_ == val.y1_); } }; +} |
