src/file/SDL_rwops.c
changeset 7828 1451063c8ecd
parent 7719 31b5f9ff36ca
child 8093 b43765095a6f
child 8535 e8ee0708ef5c
     1.1 --- a/src/file/SDL_rwops.c	Fri Oct 18 01:36:41 2013 -0400
     1.2 +++ b/src/file/SDL_rwops.c	Thu Oct 17 23:02:29 2013 -0700
     1.3 @@ -22,6 +22,11 @@
     1.4  #define _LARGEFILE64_SOURCE
     1.5  #include "SDL_config.h"
     1.6  
     1.7 +#if defined(__WIN32__)
     1.8 +#include "../core/windows/SDL_windows.h"
     1.9 +#endif
    1.10 +
    1.11 +
    1.12  /* This file provides a general interface for SDL to read and write
    1.13     data sources.  It can easily be extended to files, memory, etc.
    1.14  */
    1.15 @@ -42,8 +47,6 @@
    1.16  
    1.17  /* Functions to read/write Win32 API file pointers */
    1.18  
    1.19 -#include "../core/windows/SDL_windows.h"
    1.20 -
    1.21  #ifndef INVALID_SET_FILE_POINTER
    1.22  #define INVALID_SET_FILE_POINTER 0xFFFFFFFF
    1.23  #endif