Browse Source

scons: Always define __STDC_LIMIT_MACROS.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91591
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
tags/11.0-branchpoint
Vinson Lee 11 years ago
parent
commit
ee113bbbc5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      scons/gallium.py

+ 1
- 0
scons/gallium.py View File

@@ -300,6 +300,7 @@ def generate(env):

# C preprocessor options
cppdefines = []
cppdefines += ['__STDC_LIMIT_MACROS']
if env['build'] in ('debug', 'checked'):
cppdefines += ['DEBUG']
else:

Loading…
Cancel
Save