drisw: move build logic to build systems
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:

committed by
Eric Engestrom

parent
1cbe2ad394
commit
6a9dd62882
@@ -371,6 +371,9 @@ def generate(env):
|
||||
if check_functions(env, ['timespec_get']):
|
||||
cppdefines += ['HAVE_TIMESPEC_GET']
|
||||
|
||||
if check_header(env, 'sys/shm.h'):
|
||||
cppdefines += ['HAVE_SYS_SHM_H']
|
||||
|
||||
if platform == 'windows':
|
||||
cppdefines += [
|
||||
'WIN32',
|
||||
|
Reference in New Issue
Block a user