Changeset 156302 in webkit
- Timestamp:
- Sep 23, 2013 3:25:25 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r156300 r156302 1 2013-09-23 Patrick Gansterer <paroga@webkit.org> 2 3 use NOMINMAX instead of #define min min 4 https://bugs.webkit.org/show_bug.cgi?id=73563 5 6 Reviewed by Brent Fulgham. 7 8 Use NOMINMAX instead of #define min/max as a cleaner 9 way of ensuring that Windows system header files don't 10 define min/max as macro in the first place. 11 12 * config.h: 13 1 14 2013-09-23 Filip Pizlo <fpizlo@apple.com> 2 15 -
trunk/Source/JavaScriptCore/config.h
r153162 r156302 44 44 #endif 45 45 46 // If we don't define these, they get defined in windef.h.47 // We want to use std::min and std::max48 #define max max49 #define min min50 51 46 #if !COMPILER(MSVC7_OR_LOWER) && !OS(WINCE) 52 47 // We need to define this before the first #include of stdlib.h or it won't contain rand_s. -
trunk/Source/WTF/ChangeLog
r156298 r156302 1 2013-09-23 Patrick Gansterer <paroga@webkit.org> 2 3 use NOMINMAX instead of #define min min 4 https://bugs.webkit.org/show_bug.cgi?id=73563 5 6 Reviewed by Brent Fulgham. 7 8 Use NOMINMAX instead of #define min/max as a cleaner 9 way of ensuring that Windows system header files don't 10 define min/max as macro in the first place. 11 12 * config.h: 13 1 14 2013-09-23 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/Source/WTF/config.h
r140930 r156302 41 41 #endif 42 42 43 // If we don't define these, they get defined in windef.h.44 // We want to use std::min and std::max45 #define max max46 #define min min47 48 43 #if !COMPILER(MSVC7_OR_LOWER) && !OS(WINCE) 49 44 // We need to define this before the first #include of stdlib.h or it won't contain rand_s. -
trunk/Source/WebCore/ChangeLog
r156301 r156302 1 2013-09-23 Patrick Gansterer <paroga@webkit.org> 2 3 use NOMINMAX instead of #define min min 4 https://bugs.webkit.org/show_bug.cgi?id=73563 5 6 Reviewed by Brent Fulgham. 7 8 Use NOMINMAX instead of #define min/max as a cleaner 9 way of ensuring that Windows system header files don't 10 define min/max as macro in the first place. 11 12 * WebCorePrefix.h: 13 * config.h: 14 1 15 2013-09-23 Simon Fraser <simon.fraser@apple.com> 2 16 -
trunk/Source/WebCore/WebCorePrefix.h
r152495 r156302 52 52 #define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h 53 53 #endif 54 #endif55 56 // If we don't define these, they get defined in windef.h.57 // We want to use std::min and std::max58 #ifdef __cplusplus59 #define max max60 #define min min61 54 #endif 62 55 -
trunk/Source/WebCore/config.h
r152861 r156302 55 55 #ifndef WINVER 56 56 #define WINVER 0x0502 57 #endif58 59 // If we don't define these, they get defined in windef.h.60 // We want to use std::min and std::max.61 #ifndef max62 #define max max63 #endif64 #ifndef min65 #define min min66 57 #endif 67 58 -
trunk/Source/WebKit/win/ChangeLog
r156249 r156302 1 2013-09-23 Patrick Gansterer <paroga@webkit.org> 2 3 use NOMINMAX instead of #define min min 4 https://bugs.webkit.org/show_bug.cgi?id=73563 5 6 Reviewed by Brent Fulgham. 7 8 Use NOMINMAX instead of #define min/max as a cleaner 9 way of ensuring that Windows system header files don't 10 define min/max as macro in the first place. 11 12 * WebKitPrefix.h: 13 1 14 2013-09-22 Sam Weinig <sam@webkit.org> 2 15 -
trunk/Source/WebKit/win/WebKitPrefix.h
r140930 r156302 35 35 #endif 36 36 37 // If we don't define these, they get defined in windef.h.38 // We want to use std::min and std::max.39 #ifndef max40 #define max max41 #endif42 #ifndef min43 #define min min44 #endif45 46 37 #ifndef _WINSOCKAPI_ 47 38 #define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h -
trunk/Source/WebKit2/ChangeLog
r156287 r156302 1 2013-09-23 Patrick Gansterer <paroga@webkit.org> 2 3 use NOMINMAX instead of #define min min 4 https://bugs.webkit.org/show_bug.cgi?id=73563 5 6 Reviewed by Brent Fulgham. 7 8 Use NOMINMAX instead of #define min/max as a cleaner 9 way of ensuring that Windows system header files don't 10 define min/max as macro in the first place. 11 12 * config.h: 13 1 14 2013-09-23 ChangSeok Oh <changseok.oh@collabora.com> 2 15 -
trunk/Source/WebKit2/config.h
r155032 r156302 66 66 #endif 67 67 68 /* If we don't define these, they get defined in windef.h. */69 /* We want to use std::min and std::max. */70 #ifndef max71 #define max max72 #endif73 #ifndef min74 #define min min75 #endif76 77 68 #ifndef _WINSOCKAPI_ 78 69 #define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */ -
trunk/Tools/ChangeLog
r156299 r156302 1 2013-09-23 Patrick Gansterer <paroga@webkit.org> 2 3 use NOMINMAX instead of #define min min 4 https://bugs.webkit.org/show_bug.cgi?id=73563 5 6 Reviewed by Brent Fulgham. 7 8 Use NOMINMAX instead of #define min/max as a cleaner 9 way of ensuring that Windows system header files don't 10 define min/max as macro in the first place. 11 12 * DumpRenderTree/DumpRenderTreePrefix.h: 13 * DumpRenderTree/cg/ImageDiffCG.cpp: 14 * DumpRenderTree/config.h: 15 * DumpRenderTree/win/ImageDiffCairo.cpp: 16 * WebKitTestRunner/WebKitTestRunnerPrefix.h: 17 * WebKitTestRunner/config.h: 18 1 19 2013-09-23 Benjamin Poulain <benjamin@webkit.org> 2 20 -
trunk/Tools/DumpRenderTree/DumpRenderTreePrefix.h
r107775 r156302 32 32 33 33 #endif 34 35 #if defined(WIN32) || defined(_WIN32)36 37 // If we don't define these, they get defined in windef.h.38 // We want to use std::min and std::max39 #define max max40 #define min min41 42 #endif -
trunk/Tools/DumpRenderTree/cg/ImageDiffCG.cpp
r149716 r156302 25 25 */ 26 26 27 #if defined(WIN32) || defined(_WIN32)28 #define max max29 #define min min30 #endif31 32 27 // FIXME: We need to be able to include these defines from a config.h somewhere. 33 28 #define JS_EXPORT_PRIVATE -
trunk/Tools/DumpRenderTree/config.h
r148980 r156302 57 57 #endif // PLATFORM(MAC) 58 58 59 #if OS(WINDOWS)60 // If we don't define these, they get defined in windef.h.61 // We want to use std::min and std::max62 #undef max63 #define max max64 #undef min65 #define min min66 #endif67 68 59 #if PLATFORM(WIN) 69 60 #define WTF_USE_CF 1 -
trunk/Tools/DumpRenderTree/win/ImageDiffCairo.cpp
r149716 r156302 51 51 52 52 #if PLATFORM(WIN) 53 #undef min54 #undef max55 56 53 static inline float strtof(const char* inputString, char** endptr) 57 54 { -
trunk/Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h
r124163 r156302 28 28 #endif 29 29 30 #if defined(WIN32) || defined(_WIN32)31 // If we don't define these, they get defined in windef.h.32 // We want to use std::min and std::max33 #define max max34 #define min min35 #endif36 37 30 #if defined(BUILDING_GTK__) 38 31 #include "autotoolsconfig.h" -
trunk/Tools/WebKitTestRunner/config.h
r147866 r156302 47 47 #endif 48 48 49 #if OS(WINDOWS)50 /* If we don't define these, they get defined in windef.h. */51 /* We want to use std::min and std::max. */52 #ifndef max53 #define max max54 49 #endif 55 #ifndef min56 #define min min57 #endif58 #endif59 60 #endif -
trunk/WebKitLibraries/ChangeLog
r156218 r156302 1 2013-09-23 Patrick Gansterer <paroga@webkit.org> 2 3 use NOMINMAX instead of #define min min 4 https://bugs.webkit.org/show_bug.cgi?id=73563 5 6 Reviewed by Brent Fulgham. 7 8 Use NOMINMAX instead of #define min/max as a cleaner 9 way of ensuring that Windows system header files don't 10 define min/max as macro in the first place. 11 12 * win/tools/vsprops/common.props: 13 1 14 2013-09-20 Mark Rowe <mrowe@apple.com> 2 15 -
trunk/WebKitLibraries/win/tools/vsprops/common.props
r156060 r156302 34 34 <ClCompile> 35 35 <AdditionalOptions>/bigobj /GS %(AdditionalOptions)</AdditionalOptions> 36 <PreprocessorDefinitions>_WINDOWS;WINVER=0x502;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_HAS_EXCEPTIONS=0;BUILDING_$(ProjectName); WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>36 <PreprocessorDefinitions>_WINDOWS;WINVER=0x502;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_HAS_EXCEPTIONS=0;BUILDING_$(ProjectName);NOMINMAX;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions> 37 37 <PreprocessorDefinitions Condition="$(Platform)=='Win32'">WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions> 38 38 <PreprocessorDefinitions Condition="$(Platform)=='Win64'">x64</PreprocessorDefinitions>
Note: See TracChangeset
for help on using the changeset viewer.