Skip to content

Commit 2da27ca

Browse files
draccJayFoxRox
authored andcommitted
Define _GNU_SOURCE when using GCC
Silences an asprintf() warning.
1 parent 9fdb063 commit 2da27ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extract-xiso.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@
237237
#if defined( __LINUX__ )
238238
#define _LARGEFILE64_SOURCE
239239
#endif
240+
#if defined( __GNUC__ )
241+
#define _GNU_SOURCE
242+
#endif
240243

241244

242245
#include <time.h>

0 commit comments

Comments
 (0)