* src/autofit/ft-hb.c: Fix definition of _GNU_SOURCE.

Commit 43ec023e1a defined the macro too late.
This commit is contained in:
Ozkan Sezer
2025-06-03 12:38:38 +02:00
committed by Werner Lemberg
parent 2adb53616a
commit 1518bc83d2

View File

@@ -16,6 +16,10 @@
*/
#if !defined( _WIN32 ) && !defined( _GNU_SOURCE )
# define _GNU_SOURCE 1 /* for RTLD_DEFAULT */
#endif
#include <freetype/freetype.h>
#include <freetype/internal/ftmemory.h>
@@ -45,7 +49,6 @@
#else /* !_WIN32 */
# define _GNU_SOURCE 1 /* for RTLD_DEFAULT */
# include <dlfcn.h>
/* The GCC pragma suppresses the warning "ISO C forbids */