Commit d55f47d564443c246b7285106e03cb71dd365e8c

Sam Lantinga 2020-02-10T13:59:05

Fixed compile warning

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c
index 1ee1754..2dc986b 100644
--- a/src/file/SDL_rwops.c
+++ b/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"