src/file/SDL_rwops.c
changeset 5086 c2539ff054c8
parent 5062 e8916fe9cfc8
child 5090 327f181542f1
     1.1 --- a/src/file/SDL_rwops.c	Mon Jan 24 15:10:16 2011 -0800
     1.2 +++ b/src/file/SDL_rwops.c	Mon Jan 24 15:46:11 2011 -0800
     1.3 @@ -37,7 +37,7 @@
     1.4  #include <fat.h>
     1.5  #endif /* __NDS__ */
     1.6  
     1.7 -#ifdef __WINDOWS__
     1.8 +#ifdef __WIN32__
     1.9  
    1.10  /* Functions to read/write Win32 API file pointers */
    1.11  /* Will not use it on WinCE because stdio is buffered, it means
    1.12 @@ -295,7 +295,7 @@
    1.13      }
    1.14      return (0);
    1.15  }
    1.16 -#endif /* __WINDOWS__ */
    1.17 +#endif /* __WIN32__ */
    1.18  
    1.19  #ifdef HAVE_STDIO_H
    1.20  
    1.21 @@ -449,7 +449,7 @@
    1.22          SDL_SetError("SDL_RWFromFile(): No file or no mode specified");
    1.23          return NULL;
    1.24      }
    1.25 -#if defined(__WINDOWS__)
    1.26 +#if defined(__WIN32__)
    1.27      rwops = SDL_AllocRW();
    1.28      if (!rwops)
    1.29          return NULL;            /* SDL_SetError already setup by SDL_AllocRW() */