scons: Define IN_DRI_DRIVER.
The define is required for DRI drivers. It is not needed for libgl-xlib, but the overhead it introduces should be minor.
This commit is contained in:
@@ -19,6 +19,10 @@ if env['platform'] == 'windows':
|
||||
'WIN32_THREADS', # use Win32 thread API
|
||||
])
|
||||
env.Prepend(CPPPATH = ['#src/talloc'])
|
||||
else:
|
||||
env.Append(CPPDEFINES = [
|
||||
'IN_DRI_DRIVER', # enable the remap table (for DRI drivers)
|
||||
])
|
||||
|
||||
#
|
||||
# Source files
|
||||
|
||||
Reference in New Issue
Block a user