Skip to content

Commit 6977b82

Browse files
chrstphrchvzSiegeLord
authored andcommitted
Remove _LARGEFILE_SOURCE64 usage
Typo of actual macro _LARGEFILE64_SOURCE. There is no usage of the features provided by _LARGEFILE64_SOURCE present in Allegro, otherwise there would likely also be compiler warnings/errors regarding implicit function declarations and unknown types.
1 parent a49a786 commit 6977b82

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/file_stdio.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
#ifndef _LARGEFILE_SOURCE
2121
#define _LARGEFILE_SOURCE
2222
#endif
23-
#ifndef _LARGEFILE_SOURCE64
24-
#define _LARGEFILE_SOURCE64
25-
#endif
2623
#ifndef _FILE_OFFSET_BITS
2724
#define _FILE_OFFSET_BITS 64
2825
#endif

src/fshook_stdio.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ ALLEGRO_DEBUG_CHANNEL("fshook")
3535
/* Enable large file support in gcc/glibc. */
3636
#if defined ALLEGRO_HAVE_FTELLO && defined ALLEGRO_HAVE_FSEEKO
3737
#define _LARGEFILE_SOURCE
38-
#define _LARGEFILE_SOURCE64
3938
#define _FILE_OFFSET_BITS 64
4039
#endif
4140

0 commit comments

Comments
 (0)