mirror of
git://git.sv.nongnu.org/freetype/freetype2.git
synced 2026-01-19 04:52:09 +00:00
* src/autofit/ft-hb.c: Fix definition of _GNU_SOURCE.
Commit 43ec023e1a defined the macro too late.
This commit is contained in:
committed by
Werner Lemberg
parent
2adb53616a
commit
1518bc83d2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user