diff --git a/desmume/src/addons/compactFlash.cpp b/desmume/src/addons/compactFlash.cpp index 362ad0daa..0f28a8643 100644 --- a/desmume/src/addons/compactFlash.cpp +++ b/desmume/src/addons/compactFlash.cpp @@ -30,7 +30,7 @@ #include #include -#ifdef WIN32 +#ifdef _XBOX && WIN32 #include #define OPEN_MODE _O_RDWR | _O_BINARY