Skip to content

Commit da520ce

Browse files
committed
Yet another attempt at gcc-14 lstat/realpath (#9703 PR #893)
See also 4b8b5ac and realpath(3) ``` realpath(): _XOPEN_SOURCE >= 500 || /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE ```
1 parent ac159d8 commit da520ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/aaf/wscript

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def build(bld):
6060
#obj.uselib = 'GLIB'
6161
obj.vnum = LIBAAF_LIB_VERSION
6262
obj.install_path = bld.env['LIBDIR']
63-
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"', '_POSIX_C_SOURCE=200809L' ]
63+
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"', '_POSIX_C_SOURCE=200809L', '_XOPEN_SOURCE=500' ]
6464

6565
def shutdown():
6666
autowaf.shutdown()

0 commit comments

Comments
 (0)