diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-11-20 17:47:11 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-11-20 17:47:11 -0800 |
commit | bb045d339b53f7ddd42bfca363e3d589b0ddcf20 (patch) | |
tree | 99707c2016be898846b94d42b4bd5d7161525559 /src | |
parent | 7e1bf946316ff99feaa3f2e85f70b45bd9a77ade (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript index 5fe5d39fb1..08d731de2d 100644 --- a/src/mesa/SConscript +++ b/src/mesa/SConscript @@ -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 |