From 4479bf5d552317c6193ed31aec6012bd5ea587d4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 12 Apr 2015 20:00:49 +0200 Subject: [PATCH] (XDK1) Buildfixes --- gfx/drivers_context/d3d_ctx.cpp | 4 ++++ msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gfx/drivers_context/d3d_ctx.cpp b/gfx/drivers_context/d3d_ctx.cpp index de3880bab5..f9b2c84a90 100644 --- a/gfx/drivers_context/d3d_ctx.cpp +++ b/gfx/drivers_context/d3d_ctx.cpp @@ -15,6 +15,10 @@ * If not, see . */ +#ifdef _XBOX +#include +#endif + #include "../d3d/d3d.h" #include "../common/win32_common.h" diff --git a/msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj b/msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj index a2c4c7a1f8..9b63339f26 100644 --- a/msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj +++ b/msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj @@ -21,7 +21,7 @@ Name="VCCLCompilerTool" Optimization="3" OptimizeForProcessor="2" - AdditionalIncludeDirectories=""$(SolutionDir)\..\libretro-common\include";"$(SolutionDir)\..\libretro-common\include\compat\msvc";"$(SolutionDir)\msvc-71";"$(SolutionDir)\..\deps\zlib"" + AdditionalIncludeDirectories=""$(SolutionDir)\..\libretro-common\include";"$(SolutionDir)\..\libretro-common\include\compat\msvc";"$(SolutionDir)\msvc-71";"$(SolutionDir)\..\deps\zlib"" PreprocessorDefinitions="_DEBUG;_XBOX;_XBOX1;HAVE_RMENU;HAVE_MENU;RARCH_CONSOLE;HAVE_XINPUT_XBOX1;__STDC_CONSTANT_MACROS;HAVE_ZLIB;HAVE_GRIFFIN;HAVE_LIBRETRO_MANAGEMENT;HAVE_RARCH_EXEC;HAVE_DSOUND;HAVE_D3D;HAVE_D3D8;RARCH_INTERNAL;WANT_ZLIB;SINC_LOWER_QUALITY;HAVE_THREADS;HAVE_FILTERS_BUILTIN;HAVE_BUILTIN_AUTOCONFIG" MinimalRebuild="TRUE" BasicRuntimeChecks="0" @@ -447,6 +447,9 @@ CompileAs="2"/> + +