removed errors

This commit is contained in:
EqUiNoX
2024-11-23 14:25:59 -07:00
parent 465b0c0c99
commit cd090f66be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ SDL_MostSignificantBitIndex32(Uint32 x)
return -1;
}
return _SDL_bsr_watcom(x);
#elif defined(_MSC_VER)
#elif !defined(_XBOX) && defined(_MSC_VER)
unsigned long index;
if (_BitScanReverse(&index, x)) {
return index;
+1 -1
View File
@@ -540,7 +540,7 @@ static int SDLCALL mem_close(SDL_RWops *context)
/* Functions to create SDL_RWops structures from various data sources */
#if defined(HAVE_STDIO_H) && !(defined(__WIN32__) || defined(__GDK__))
#if defined(HAVE_STDIO_H) && !(defined(__WIN32__) || defined(__GDK__) || defined(__XBOX__))
static SDL_bool IsRegularFileOrPipe(FILE *f)
{
#ifdef __WINRT__