scons: Define YY_USE_CONST on MSVC.
authorJose Fonseca <jfonseca@vmware.com>
Thu, 19 Mar 2015 11:53:36 +0000 (11:53 +0000)
committerJose Fonseca <jfonseca@vmware.com>
Sun, 22 Mar 2015 08:23:24 +0000 (08:23 +0000)
commit015e8b6384bbdba8421c5dafd4783dba4d3a9182
tree2feec96fc41b86480bd090c8adbaff594b4ca5ac
parent357d1fc81aceec6dda866ea74962ee2ddf3aa350
scons: Define YY_USE_CONST on MSVC.

This prevents the MSVC from

  warning C4090: 'function' : different 'const' qualifiers

when compiling flex generated lexers.

Reviewed-by: Brian Paul <brianp@vmware.com>
scons/gallium.py