From b4f28fb5323a582c74080e20caca1ab5b1969cfc Mon Sep 17 00:00:00 2001 From: Elad Lahav Date: Wed, 11 Jan 2023 08:22:49 -0500 Subject: [PATCH] Define _LARGEFILE64_SOURCE as 1 for all platforms --- src/SDL_internal.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/SDL_internal.h b/src/SDL_internal.h index 9817c0b703..08fb8398c3 100644 --- a/src/SDL_internal.h +++ b/src/SDL_internal.h @@ -28,14 +28,7 @@ /* Need this so Linux systems define fseek64o, ftell64o and off64_t */ #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 /* This is for a variable-length array at the end of a struct: