use NOMINMAX instead of #define min min
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Sep 2013 22:25:25 +0000 (22:25 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Sep 2013 22:25:25 +0000 (22:25 +0000)
commit99cf2e13b33dac5fb7a8184af6aa52a8b66acd07
treec0ffff1945a84f29e7cac2e3aa9248001c8b3412
parentdc7873bd578c331b159198eaff56b8dcb6ac8ef2
use NOMINMAX instead of #define min min
https://bugs.webkit.org/show_bug.cgi?id=73563

Reviewed by Brent Fulgham.

Use NOMINMAX instead of #define min/max as a cleaner
way of ensuring that Windows system header files don't
define min/max as macro in the first place.

Source/JavaScriptCore:

* config.h:

Source/WebCore:

* WebCorePrefix.h:
* config.h:

Source/WebKit/win:

* WebKitPrefix.h:

Source/WebKit2:

* config.h:

Source/WTF:

* config.h:

Tools:

* DumpRenderTree/DumpRenderTreePrefix.h:
* DumpRenderTree/cg/ImageDiffCG.cpp:
* DumpRenderTree/config.h:
* DumpRenderTree/win/ImageDiffCairo.cpp:
* WebKitTestRunner/WebKitTestRunnerPrefix.h:
* WebKitTestRunner/config.h:

WebKitLibraries:

* win/tools/vsprops/common.props:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/config.h
Source/WTF/ChangeLog
Source/WTF/config.h
Source/WebCore/ChangeLog
Source/WebCore/WebCorePrefix.h
Source/WebCore/config.h
Source/WebKit/win/ChangeLog
Source/WebKit/win/WebKitPrefix.h
Source/WebKit2/ChangeLog
Source/WebKit2/config.h
Tools/ChangeLog
Tools/DumpRenderTree/DumpRenderTreePrefix.h
Tools/DumpRenderTree/cg/ImageDiffCG.cpp
Tools/DumpRenderTree/config.h
Tools/DumpRenderTree/win/ImageDiffCairo.cpp
Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h
Tools/WebKitTestRunner/config.h
WebKitLibraries/ChangeLog
WebKitLibraries/win/tools/vsprops/common.props