From b26d9841f4e6ac47994026f7970392bd47bcd72d Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 20 Nov 2010 15:47:24 +0800 Subject: [PATCH] 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. --- src/mesa/SConscript | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/mesa/SConscript b/src/mesa/SConscript index 5fe5d39..08d731d 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 -- 1.7.2.3