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:
Chia-I Wu 2010-11-20 17:47:11 -08:00 committed by Vinson Lee
parent 7e1bf94631
commit bb045d339b

View file

@ -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