Move large file source def to code

This commit is contained in:
abdelrahman committed 2026-03-08 13:10:17 +00:00
1 parent 6b88d7e3fe
commit eeed101228
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ INSTALL_PREFIX = dist
RUNTIME_ASSERT = true
# Internal variables
override CFLAGS = -Wall -Wextra -Werror -pedantic -Isrc -D_LARGEFILE64_SOURCE
override CFLAGS = -Wall -Wextra -Werror -pedantic -Isrc
override LIBFLAGS = -fPIC
override CSTD := -std=gnu11
override CXXSTD := -std=gnu++11
+1
View File
@@ -16,6 +16,7 @@
#define lseek64 lseek
#endif // !WAPP_PLATFORM_APPLE
#define __USE_LARGEFILE64
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>