summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-01-22 14:26:30 +0000
committerJosé Fonseca <[email protected]>2009-01-22 14:26:30 +0000
commit42be0104a22fdff0db3c39af9feb7d157ac87f46 (patch)
tree8334291bae56cc6aab99607b0835a160a7f8656a
parent4df482086ebf0663c708b089d8d8d22de0ef972c (diff)
scons: Don't define UNICODE on windows builds.
It creates problems in many libraries (glut, glew) which are not unicode aware.
-rw-r--r--scons/gallium.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 1218067985e..65dd0ab664f 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -220,8 +220,8 @@ def generate(env):
cppdefines += [
'WIN32',
'_WINDOWS',
- '_UNICODE',
- 'UNICODE',
+ #'_UNICODE',
+ #'UNICODE',
('_WIN32_WINNT', '0x0501'), # minimum required OS version
('WINVER', '0x0501'),
# http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx,