Explorar el Código

Define _LARGEFILE64_SOURCE as 1 for all platforms

Elad Lahav hace 2 años
padre
commit
b4f28fb532
Se han modificado 1 ficheros con 1 adiciones y 8 borrados
  1. 1 8
      src/SDL_internal.h

+ 1 - 8
src/SDL_internal.h

@@ -28,14 +28,7 @@
 
 
 /* Need this so Linux systems define fseek64o, ftell64o and off64_t */
 /* Need this so Linux systems define fseek64o, ftell64o and off64_t */
 #ifndef _LARGEFILE64_SOURCE
 #ifndef _LARGEFILE64_SOURCE
-#ifndef __QNX__
-#define _LARGEFILE64_SOURCE
-#else
-/* QNX expects either _LARGEFILE64_SOURCE to be defined as a value or not at
-   all.
-   As the comment above says _LARGEFILE64_SOURCE is for Linux, should it be
-   defined only if __LINUX__ is defined? */
-#endif
+#define _LARGEFILE64_SOURCE 1
 #endif
 #endif
 
 
 /* This is for a variable-length array at the end of a struct:
 /* This is for a variable-length array at the end of a struct: