Module: Mesa
Branch: gallium-0.2
Commit: 42be0104a22fdff0db3c39af9feb7d157ac87f46
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=42be0104a22fdff0db3c39af9feb7d157ac87f46

Author: José Fonseca <jfons...@vmware.com>
Date:   Thu Jan 22 14:26:30 2009 +0000

scons: Don't define UNICODE on windows builds.

It creates problems in many libraries (glut, glew) which are not unicode
aware.

---

 scons/gallium.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index 1218067..65dd0ab 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,

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to