summaryrefslogtreecommitdiffstats
path: root/test/CXX
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2006-01-21 19:01:06 (GMT)
committerSteven Knight <knight@baldmt.com>2006-01-21 19:01:06 (GMT)
commit831d92ab8e2a85cd863b50912db59ae02657b2c3 (patch)
tree6923c674148af3f821725a49e3dbc194658d4257 /test/CXX
parent7aba7bbdac197fce9d07b994f14c799a72b4ca4a (diff)
downloadSCons-831d92ab8e2a85cd863b50912db59ae02657b2c3.zip
SCons-831d92ab8e2a85cd863b50912db59ae02657b2c3.tar.gz
SCons-831d92ab8e2a85cd863b50912db59ae02657b2c3.tar.bz2
Eliminate unnecessary WIN32/Win32/win32 references in tests, too.
Diffstat (limited to 'test/CXX')
-rw-r--r--test/CXX/SHCXXFLAGS.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CXX/SHCXXFLAGS.py b/test/CXX/SHCXXFLAGS.py
index 049be6c..88da443 100644
--- a/test/CXX/SHCXXFLAGS.py
+++ b/test/CXX/SHCXXFLAGS.py
@@ -46,8 +46,8 @@ if string.find(sys.platform, 'irix') > -1:
test = TestSCons.TestSCons()
test.write('SConstruct', """
-foo = Environment(SHCXXFLAGS = '%s', WIN32_INSERT_DEF=1)
-bar = Environment(SHCXXFLAGS = '%s', WIN32_INSERT_DEF=1)
+foo = Environment(SHCXXFLAGS = '%s', WINDOWS_INSERT_DEF=1)
+bar = Environment(SHCXXFLAGS = '%s', WINDOWS_INSERT_DEF=1)
foo.SharedObject(target = 'foo%s', source = 'prog.cpp')
bar.SharedObject(target = 'bar%s', source = 'prog.cpp')
foo.SharedLibrary(target = 'foo', source = 'foo%s')
@@ -111,7 +111,7 @@ test.run(program = test.workpath('fooprog'), stdout = "prog.cpp: FOO\n")
test.run(program = test.workpath('barprog'), stdout = "prog.cpp: BAR\n")
test.write('SConstruct', """
-bar = Environment(SHCXXFLAGS = '%s', WIN32_INSERT_DEF=1)
+bar = Environment(SHCXXFLAGS = '%s', WINDOWS_INSERT_DEF=1)
bar.SharedObject(target = 'foo%s', source = 'prog.cpp')
bar.SharedObject(target = 'bar%s', source = 'prog.cpp')
bar.SharedLibrary(target = 'foo', source = 'foo%s')