diff --git a/audio/dsound.c b/audio/dsound.c index ef85e7e010..7747b0f2ef 100644 --- a/audio/dsound.c +++ b/audio/dsound.c @@ -14,7 +14,7 @@ * If not, see . */ -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(_XBOX) #pragma comment(lib, "dsound") #pragma comment(lib, "dxguid") #endif diff --git a/gfx/gfx_common.c b/gfx/gfx_common.c index ebbec9e85d..3ff3b217b6 100644 --- a/gfx/gfx_common.c +++ b/gfx/gfx_common.c @@ -14,7 +14,7 @@ * If not, see . */ -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(_XBOX) #pragma comment(lib, "winmm") #endif