mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Correctly detect localtime_r
This commit is contained in:
parent
c7cc5a1a61
commit
e44a66287a
2 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ def build(bld):
|
|||
obj.uselib = [ 'DBUS' ]
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'])
|
||||
obj.defines = [
|
||||
'_POSIX_SOURCE',
|
||||
'_DEFAULT_SOURCE',
|
||||
'_XOPEN_SOURCE=500',
|
||||
'ARD_PROG_NAME="ardour-request-device"',
|
||||
'ARD_APPL_NAME="Ardour ALSA Backend"',
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ def configure(conf):
|
|||
|
||||
conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO',mandatory=False)
|
||||
conf.check(header_name='unistd.h', define_name='HAVE_UNISTD',mandatory=False)
|
||||
conf.env.append_value('CFLAGS', "-D_POSIX_C_SOURCE=200809L")
|
||||
if not Options.options.ppc:
|
||||
conf.check_cc(
|
||||
msg="Checking for function 'posix_memalign' in stdlib.h",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue