Quoting Nicolai Hähnle (2017-11-15 06:35:49) > From: Nicolai Hähnle <[email protected]> > > v2: add HAVE_TIMESPEC_GET for non-Windows Scons builds > > Cc: Jon Turney <[email protected]> > Cc: Rob Herring <[email protected]> > Cc: Alexander von Gluck IV <[email protected]> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103674 > Fixes: f1a364878431 ("threads: update for late C11 changes") > --- > SConstruct | 7 +++++++ > configure.ac | 1 + > include/c11/threads_posix.h | 2 +- > meson.build | 2 +- > 4 files changed, 10 insertions(+), 2 deletions(-) > > diff --git a/SConstruct b/SConstruct > index a59a8ea210e..1ef134af27d 100644 > --- a/SConstruct > +++ b/SConstruct > @@ -122,20 +122,27 @@ if env['crosscompile'] and not env['embedded']: > Export('env') > > SConscript( > 'src/SConscript', > variant_dir = host_env['build_dir'], > duplicate = 0, # > http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html > ) > > env = target_env > > +if env['platform'] != 'windows': > + # This is quite incomplete, but it hopefully covers the platforms that > + # people actually use SCons on... > + env.Append(CPPDEFINES= [ > + 'HAVE_TIMESPEC_GET', > + ]) > +
I think that haiku uses scons, I've added one of (and hopefully an appropriate) person that works on Haiku. Otherwise I think this looks good, as long as the Haiku guys think this is fine for them, Reviewed-by: Dylan Baker <[email protected]>
signature.asc
Description: signature
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
