From da520cecf3e55a373b7918376214ca50117be2d9 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 26 Jun 2024 15:34:43 +0200 Subject: [PATCH] Yet another attempt at gcc-14 lstat/realpath (#9703 PR #893) See also 4b8b5acfc4 and realpath(3) ``` realpath(): _XOPEN_SOURCE >= 500 || /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE ``` --- libs/aaf/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/aaf/wscript b/libs/aaf/wscript index fc24d15bea..e6a1337b5a 100644 --- a/libs/aaf/wscript +++ b/libs/aaf/wscript @@ -60,7 +60,7 @@ def build(bld): #obj.uselib = 'GLIB' obj.vnum = LIBAAF_LIB_VERSION obj.install_path = bld.env['LIBDIR'] - obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"', '_POSIX_C_SOURCE=200809L' ] + obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"', '_POSIX_C_SOURCE=200809L', '_XOPEN_SOURCE=500' ] def shutdown(): autowaf.shutdown()