(360) 360 compiles again

This commit is contained in:
TwinAphex51224 2012-03-04 23:15:25 +01:00
parent e3c5ebd937
commit a2fe0330eb
4 changed files with 15 additions and 5 deletions

View File

@ -23,6 +23,10 @@
#include <string.h>
#include <ctype.h>
#ifdef _WIN32
#include "../posix_string.h"
#endif
const char *ssnes_console_get_rom_ext(void)
{
const char *id = snes_library_id();

View File

@ -62,10 +62,12 @@
#if defined(_WIN32) && !defined(_XBOX)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "msvc/msvc_compat.h"
#elif defined(_XBOX)
#include <xtl.h>
#include "360/msvc_compat.h"
#endif
#if defined(_WIN32)
#include "msvc/msvc_compat.h"
#endif
#define MAX_PLAYERS 8

View File

@ -292,7 +292,9 @@
<ClCompile Include="..\..\360\xdk360_video_resources.cpp" />
<ClCompile Include="..\..\audio\hermite.c" />
<ClCompile Include="..\..\audio\utils.c" />
<ClCompile Include="..\..\autosave.c" />
<ClCompile Include="..\..\autosave.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\bps.c" />
<ClCompile Include="..\..\cheats.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">true</ExcludedFromBuild>

View File

@ -38,10 +38,12 @@
#if defined(_WIN32) && !defined(_XBOX)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "msvc/msvc_compat.h"
#elif defined(_XBOX)
#include <xtl.h>
#include "360/msvc_compat.h"
#endif
#ifdef _WIN32
#include "msvc/msvc_compat.h"
#endif
#ifdef __APPLE__