diff options
| author | Sonicadvance1 <sonicadvance1@gmail.com> | 2008-07-21 01:27:13 +0000 |
|---|---|---|
| committer | Sonicadvance1 <sonicadvance1@gmail.com> | 2008-07-21 01:27:13 +0000 |
| commit | c33cf08a2f059069c08fc02bc41fa57a2bea942f (patch) | |
| tree | 2115da671c23acdd769f5220102ddac28fba1dbc /Source/Core/Common | |
| parent | 36f8b9751a5de8548e6ed1f0d62035dd5f54a761 (diff) | |
Linux: Fixes a few things, Should Compile in Linux. Ran Crazy Taxi horribly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@38 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/Common.h | 2 | ||||
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/Common.h b/Source/Core/Common/Src/Common.h index b086269b42..771caec106 100644 --- a/Source/Core/Common/Src/Common.h +++ b/Source/Core/Common/Src/Common.h @@ -105,7 +105,9 @@ typedef union _LARGE_INTEGER #define GC_ALIGNED16_DECL(x) x
#else
#define GC_ALIGNED16(x) x
+#define GC_ALIGNED64(x) x
#define GC_ALIGNED16_DECL(x) x __attribute((aligned(16)))
+#define GC_ALIGNED64_DECL(x) x
#endif
#ifndef __forceinline
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 2c14db9ab1..2d3d827477 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -1,6 +1,8 @@ #include "Common.h"
#include "FileUtil.h"
+#ifdef _WIN32
#include <shellapi.h>
+#endif
bool File::Exists(const std::string &filename)
{
|
