Browse Source

Fixed compile warning

Sam Lantinga 5 years ago
parent
commit
d55f47d564
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/file/SDL_rwops.c

+ 2 - 0
src/file/SDL_rwops.c

@@ -23,8 +23,10 @@
    configure script knows the C runtime has it and enables it. */
 #ifndef __QNXNTO__
 /* Need this so Linux systems define fseek64o, ftell64o and off64_t */
+#ifndef _LARGEFILE64_SOURCE
 #define _LARGEFILE64_SOURCE
 #endif
+#endif
 
 #include "../SDL_internal.h"