diff --git a/Source/WTF/ChangeLog b/Source/WTF/ChangeLog index 5fd1f32b68c535a613102a4a0680a69267247b14..a468372b4850be411ab2b1c97aee4af78ba92c4b 100644 --- a/Source/WTF/ChangeLog +++ b/Source/WTF/ChangeLog @@ -1,3 +1,33 @@ +2013-01-22 Roger Fong + + WTF project files and property sheets for getting WebKit to compile in VS2010. + https://bugs.webkit.org/show_bug.cgi?id=106986 + + Reviewed by Timothy Horton and Brent Fulgham. + + * WTF.vcproj/WTF.sln: + * WTF.vcxproj: Added. + * WTF.vcxproj/WTF.vcxproj: Added. + * WTF.vcxproj/WTF.vcxproj.filters: Added. + * WTF.vcxproj/WTF.vcxproj.user: Added. + * WTF.vcxproj/WTFCommon.props: Added. + * WTF.vcxproj/WTFDebug.props: Added. + * WTF.vcxproj/WTFGenerated.make: Added. + * WTF.vcxproj/WTFGenerated.vcxproj: Added. + * WTF.vcxproj/WTFGenerated.vcxproj.filters: Added. + * WTF.vcxproj/WTFGenerated.vcxproj.user: Added. + * WTF.vcxproj/WTFGeneratedCommon.props: Added. + * WTF.vcxproj/WTFGeneratedDebug.props: Added. + * WTF.vcxproj/WTFGeneratedRelease.props: Added. + * WTF.vcxproj/WTFPostBuild.cmd: Added. + * WTF.vcxproj/WTFPreBuild.cmd: Added. + * WTF.vcxproj/WTFPreLink.cmd: Added. + * WTF.vcxproj/WTFRelease.props: Added. + * WTF.vcxproj/build-generated-files.sh: Added. + * WTF.vcxproj/copy-files.cmd: Added. + * WTF.vcxproj/work-around-vs-dependency-tracking-bugs.py: Added. + * config.h: + 2013-01-22 David Kilzer Fix DateMath.cpp to compile with -Wshorten-64-to-32 diff --git a/Source/WTF/WTF.vcproj/WTF.sln b/Source/WTF/WTF.vcproj/WTF.sln index 76dc6310f1bf69c655be677343027e862a7607b1..0fb6cfc5653691440ad29628c5b50da34cf5a4b2 100644 --- a/Source/WTF/WTF.vcproj/WTF.sln +++ b/Source/WTF/WTF.vcproj/WTF.sln @@ -1,12 +1,9 @@  -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WTFGenerated", "WTFGenerated.vcproj", "{5AE5F5E4-782D-4F63-B4D7-3977B52B9950}" +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WTFGenerated", "WTFGenerated.vcxproj", "{5AE5F5E4-782D-4F63-B4D7-3977B52B9950}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WTF", "WTF.vcproj", "{AA8A5A85-592B-4357-BC60-E0E91E026AF6}" - ProjectSection(ProjectDependencies) = postProject - {5AE5F5E4-782D-4F63-B4D7-3977B52B9950} = {5AE5F5E4-782D-4F63-B4D7-3977B52B9950} - EndProjectSection +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WTF", "WTF.vcxproj", "{AA8A5A85-592B-4357-BC60-E0E91E026AF6}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/Source/WTF/WTF.vcxproj/WTF.vcxproj b/Source/WTF/WTF.vcxproj/WTF.vcxproj new file mode 100644 index 0000000000000000000000000000000000000000..52f63d74d91fa2be49f35850187eeaf741e67da3 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTF.vcxproj @@ -0,0 +1,343 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {8EF73779-BED3-45BB-816D-9FF58399AFA5} + Win32Proj + WTFvcproj + WTF + + + + StaticLibrary + true + Unicode + + + StaticLibrary + false + Unicode + + + + + + + + + + + + + + + + + NotUsing + + + + + + + + + WIN32;_LIB;%(PreprocessorDefinitions) + + + Windows + true + + + + $(OutDir)\$(ProjectName).lib + + + + + + + + + + + + + + + + + + $(OutDir)\$(TargetName).bsc + + + + + + + + + + + Windows + true + true + true + + + + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters b/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters new file mode 100644 index 0000000000000000000000000000000000000000..1982dad7efe484594beca2fbc48acaf2231c671a --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters @@ -0,0 +1,738 @@ + + + + + {b7d787cb-2b2b-4898-8d03-b94115e596d1} + + + {eaa36939-1976-495f-b9ed-90074ee4f2be} + + + {c59a3c5d-6352-441c-acf9-9bbe1957a0f8} + + + {5c8eb2f2-873f-4915-869c-d4713c7adca0} + + + {978a0e93-7937-4a85-9fd1-76319fbd9d78} + + + {d9afa800-d0b4-4284-a99d-334a5ce3d252} + + + {805e00d3-198a-44a5-8c0c-849ce6ca3252} + + + {da29baba-10a2-4a74-ab87-2fea5e1382da} + + + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + text + + + text + + + text + + + text + + + text + + + text + + + text + + + win + + + win + + + threads\win + + + threads + + + wtf + + + wtf\unicode\icu + + + wtf\unicode + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + dtoa + + + text + + + text + + + text + + + text + + + text + + + text + + + text + + + text + + + text + + + text + + + text + + + text + + + text + + + text + + + threads + + + wtf + + + wtf + + + wtf\unicode\icu + + + wtf\unicode + + + wtf\unicode + + + wtf\unicode + + + wtf\unicode + + + wtf\unicode + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + wtf + + + + + + + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTF.vcxproj.user b/Source/WTF/WTF.vcxproj/WTF.vcxproj.user new file mode 100644 index 0000000000000000000000000000000000000000..945f86990f9b0888947862c7561e4dd2c5093b71 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTF.vcxproj.user @@ -0,0 +1,16 @@ + + + + + WindowsLocalDebugger + + + + + WindowsLocalDebugger + + + + WindowsLocalDebugger + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTFCommon.props b/Source/WTF/WTF.vcxproj/WTFCommon.props new file mode 100644 index 0000000000000000000000000000000000000000..d7150faffb1727c77e11f9c3907271d8118c1c55 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFCommon.props @@ -0,0 +1,29 @@ + + + + + $(ConfigurationBuildDir)\lib\ + .lib + + + + + ../;../wtf/;../wtf/threads/;../wtf/unicode/;$(ConfigurationBuildDir)\include\private;$(ConfigurationBuildDir)\include\JavaScriptCore;$(WebKit_Libraries)\include\pthreads;$(WebKit_Libraries)\include\private;$(WebKit_Libraries)\include;%(AdditionalIncludeDirectories) + _CRT_SECURE_NO_WARNINGS;__STD_C;_LIB;%(PreprocessorDefinitions) + %(ForcedIncludeFiles) + %(DisableSpecificWarnings) + + + + + user32.lib;%(AdditionalDependencies) + $(OutDir)\$(ProjectName)$(WebKitConfigSuffix).lib + false + true + Windows + + + $(OutDir)\$(TargetName).bsc + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTFDebug.props b/Source/WTF/WTF.vcxproj/WTFDebug.props new file mode 100644 index 0000000000000000000000000000000000000000..10e9911564fc6f5341b07d5d7b1131045f40a89c --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFDebug.props @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTFGenerated.make b/Source/WTF/WTF.vcxproj/WTFGenerated.make new file mode 100644 index 0000000000000000000000000000000000000000..cb994bdca65a22309799473a4edb87f1b2d8720a --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFGenerated.make @@ -0,0 +1,13 @@ +all: + touch "%ConfigurationBuildDir%\buildfailed" + bash build-generated-files.sh "%ConfigurationBuildDir%" "$(WEBKIT_LIBRARIES)" +!IF "$(OFFICIAL_BUILD)"!="1" + bash -c "python work-around-vs-dependency-tracking-bugs.py" +!ENDIF + copy-files.cmd + + -del "%ConfigurationBuildDir%\buildfailed" + +clean: + -del "%ConfigurationBuildDir%\buildfailed" + copy-files.cmd clean diff --git a/Source/WTF/WTF.vcxproj/WTFGenerated.vcxproj b/Source/WTF/WTF.vcxproj/WTFGenerated.vcxproj new file mode 100644 index 0000000000000000000000000000000000000000..dd33bea9ebf3ba4fba3dc8286a117be75929c1c4 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFGenerated.vcxproj @@ -0,0 +1,59 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + + {F7366596-0520-4433-B8FF-D843E31E5199} + MakeFileProj + + + + Makefile + true + + + Makefile + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTFGenerated.vcxproj.filters b/Source/WTF/WTF.vcxproj/WTFGenerated.vcxproj.filters new file mode 100644 index 0000000000000000000000000000000000000000..d901ea5d264744d8535a5876281072ff29d3c091 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFGenerated.vcxproj.filters @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTFGenerated.vcxproj.user b/Source/WTF/WTF.vcxproj/WTFGenerated.vcxproj.user new file mode 100644 index 0000000000000000000000000000000000000000..50dfae5ab59be76770f56aeb960c37ebb26ae529 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFGenerated.vcxproj.user @@ -0,0 +1,7 @@ + + + + + WindowsLocalDebugger + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTFGeneratedCommon.props b/Source/WTF/WTF.vcxproj/WTFGeneratedCommon.props new file mode 100644 index 0000000000000000000000000000000000000000..0b9cf3537e66331ab05890f56dfc0eab8542d8d5 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFGeneratedCommon.props @@ -0,0 +1,15 @@ + + + + + + + + + $(ConfigurationBuildDir)\lib\ + + + + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTFGeneratedDebug.props b/Source/WTF/WTF.vcxproj/WTFGeneratedDebug.props new file mode 100644 index 0000000000000000000000000000000000000000..ffff17d150a10f05f5925465bf3bb7071bc1053c --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFGeneratedDebug.props @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTFGeneratedRelease.props b/Source/WTF/WTF.vcxproj/WTFGeneratedRelease.props new file mode 100644 index 0000000000000000000000000000000000000000..628950650545f06fb0993e57176db603ab4d1be5 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFGeneratedRelease.props @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/WTFPostBuild.cmd b/Source/WTF/WTF.vcxproj/WTFPostBuild.cmd new file mode 100644 index 0000000000000000000000000000000000000000..26707cac614bb9bcff73dae351fd087091b67020 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFPostBuild.cmd @@ -0,0 +1 @@ +if exist "%CONFIGURATIONBUILDDIR%\buildfailed" del "%CONFIGURATIONBUILDDIR%\buildfailed" diff --git a/Source/WTF/WTF.vcxproj/WTFPreBuild.cmd b/Source/WTF/WTF.vcxproj/WTFPreBuild.cmd new file mode 100644 index 0000000000000000000000000000000000000000..a77077674878e1064eec72cf5aa1b3667300794b --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFPreBuild.cmd @@ -0,0 +1,6 @@ +%SystemDrive%\cygwin\bin\which.exe bash +if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH% +cmd /c +if exist "%CONFIGURATIONBUILDDIR%\buildfailed" grep XX%PROJECTNAME%XX "%CONFIGURATIONBUILDDIR%\buildfailed" +if errorlevel 1 exit 1 +echo XX%PROJECTNAME%XX > "%CONFIGURATIONBUILDDIR%\buildfailed" diff --git a/Source/WTF/WTF.vcxproj/WTFPreLink.cmd b/Source/WTF/WTF.vcxproj/WTFPreLink.cmd new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Source/WTF/WTF.vcxproj/WTFRelease.props b/Source/WTF/WTF.vcxproj/WTFRelease.props new file mode 100644 index 0000000000000000000000000000000000000000..ba041ac28785eb6e069655953a488e779f3a4fca --- /dev/null +++ b/Source/WTF/WTF.vcxproj/WTFRelease.props @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/WTF/WTF.vcxproj/build-generated-files.sh b/Source/WTF/WTF.vcxproj/build-generated-files.sh new file mode 100644 index 0000000000000000000000000000000000000000..9abcb653321a7d572eb3f9880cf0d9ea68b0ff41 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/build-generated-files.sh @@ -0,0 +1,11 @@ +#!/usr/bin/bash + +# Determine whether we have the versioned ICU 4.0 or the unversioned ICU 4.4 +UNVERSIONED_ICU_LIB_PATH=$(cygpath -u "${WEBKIT_LIBRARIES}/lib/libicuuc.lib") +ICUVERSION_H_PATH=$(cygpath -u "${CONFIGURATIONBUILDDIR}/include/private/ICUVersion.h") +if test \( ! -f "${ICUVERSION_H_PATH}" \) -o \( -f "${UNVERSIONED_ICU_LIB_PATH}" -a \( "${UNVERSIONED_ICU_LIB_PATH}" -nt "${ICUVERSION_H_PATH}" \) \) +then + mkdir -p "$(dirname "${ICUVERSION_H_PATH}")" + test ! -f "${UNVERSIONED_ICU_LIB_PATH}" + echo "#define U_DISABLE_RENAMING $?" > "${ICUVERSION_H_PATH}" +fi diff --git a/Source/WTF/WTF.vcxproj/copy-files.cmd b/Source/WTF/WTF.vcxproj/copy-files.cmd new file mode 100644 index 0000000000000000000000000000000000000000..f958bc48a1f1ab1ec3f220d95940cd095498c889 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/copy-files.cmd @@ -0,0 +1,40 @@ +@echo off + +set PrivateHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\private +set PGOPrivateHeadersDirectory=%CONFIGURATIONBUILDDIR%\..\Release_PGO\include\private +set WTF_Directory=%Webkit_Source%\WTF + +if "%1" EQU "clean" goto :clean +if "%1" EQU "rebuild" call :clean + +for %%d in ( + wtf + wtf\dtoa + wtf\text + wtf\threads + wtf\unicode + wtf\unicode\icu +) do ( + mkdir "%PrivateHeadersDirectory%\%%d" 2>NUL + xcopy /y /d %Webkit_Source%\WTF\%%d\*.h "%PrivateHeadersDirectory%\%%d" >NUL +) + +echo Copying other files... +for %%f in ( + ..\JavaScriptCore\create_hash_table + wtf\text\AtomicString.cpp + wtf\text\StringBuilder.cpp + wtf\text\StringImpl.cpp + wtf\text\WTFString.cpp +) do ( + echo F | xcopy /y /d %WTF_Directory%\%%f "%PrivateHeadersDirectory%\%%f" >NUL + echo F | xcopy /y /d %WTF_Directory%\%%f "%PGOPrivateHeadersDirectory%\%%f" >NUL +) + +goto :EOF + +:clean + +echo Deleting copied files... +if exist "%PrivateHeadersDirectory%" rmdir /s /q "%PrivateHeadersDirectory%" >NUL +if exist "%PGOPrivateHeadersDirectory%" rmdir /s /q "%PGOPrivateHeadersDirectory%" >NUL diff --git a/Source/WTF/WTF.vcxproj/work-around-vs-dependency-tracking-bugs.py b/Source/WTF/WTF.vcxproj/work-around-vs-dependency-tracking-bugs.py new file mode 100644 index 0000000000000000000000000000000000000000..c8a4c458862133a6ecceadd1fa2485bdf2245959 --- /dev/null +++ b/Source/WTF/WTF.vcxproj/work-around-vs-dependency-tracking-bugs.py @@ -0,0 +1,66 @@ +#!/usr/bin/env python + +import glob +import os +import re +import sys + + +# It's fragile to rely on the location of this script to find the top-level +# source directory. +TOP_LEVEL_DIRECTORY = os.environ['WEBKIT_SOURCE']; +WEBKIT_LIBRARIES = os.environ['WEBKIT_LIBRARIES']; + +def main(): + react_to_vsprops_changes() + react_to_webkit1_interface_changes() + + +def react_to_vsprops_changes(): + vsprops_directory = os.path.join(WEBKIT_LIBRARIES, 'tools', 'vsprops') + newest_vsprops_time = mtime_of_newest_file_matching_glob(os.path.join(vsprops_directory, '*.vsprops')) + + obj_directory = os.path.join(os.environ['CONFIGURATIONBUILDDIR'], 'obj') + + # Visual Studio isn't smart enough to figure out it needs to rebuild these file types when + # .vsprops files change (even if we touch wtf/Platform.h below), so we delete them to force them + # to be rebuilt. + for extension in ('dep', 'manifest', 'pch', 'res'): + for filepath in glob.iglob(os.path.join(obj_directory, '*', '*.%s' % extension)): + delete_if_older_than(filepath, newest_vsprops_time) + + # Touch wtf/Platform.h so all files will be recompiled. This is necessary + # to pick up changes to preprocessor macros (e.g., ENABLE_*). + wtf_platform_h = os.path.join(TOP_LEVEL_DIRECTORY, 'WTF', 'wtf', 'Platform.h') + touch_if_older_than(wtf_platform_h, newest_vsprops_time) + + +def react_to_webkit1_interface_changes(): + interfaces_directory = os.path.join(TOP_LEVEL_DIRECTORY, 'WebKit', 'win', 'Interfaces') + newest_idl_time = mtime_of_newest_file_matching_glob(os.path.join(interfaces_directory, '*.idl')) + # WebKit.idl includes all the other IDL files, so needs to be rebuilt if any IDL file changes. + # But Visual Studio isn't smart enough to figure this out, so we touch WebKit.idl to ensure that + # it gets rebuilt. + touch_if_older_than(os.path.join(interfaces_directory, 'WebKit.idl'), newest_idl_time) + + +def mtime_of_newest_file_matching_glob(glob_pattern): + files = glob.glob(glob_pattern) + assert len(files), "Couldn't find any files matching glob %s" % glob_pattern + return max(map(os.path.getmtime, files)) + + +def delete_if_older_than(path, reference_time): + if os.path.getmtime(path) < reference_time: + print 'Deleting %s' % path + os.remove(path) + + +def touch_if_older_than(path, reference_time): + if os.path.getmtime(path) < reference_time: + print 'Touching %s' % path + os.utime(path, None) + + +if __name__ == '__main__': + sys.exit(main()) diff --git a/Source/WTF/config.h b/Source/WTF/config.h index dabdd0ea7035a4ff040c429db8553b86fa16a27f..08765146dca49fc506947738da0190239ec5075e 100644 --- a/Source/WTF/config.h +++ b/Source/WTF/config.h @@ -33,11 +33,11 @@ #if OS(WINDOWS) #ifndef _WIN32_WINNT -#define _WIN32_WINNT 0x0500 +#define _WIN32_WINNT 0x0501 #endif #ifndef WINVER -#define WINVER 0x0500 +#define WINVER 0x0501 #endif // If we don't define these, they get defined in windef.h.