summaryrefslogtreecommitdiff
path: root/Tools/DumpRenderTree/DumpRenderTreePrefix.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/DumpRenderTree/DumpRenderTreePrefix.h')
-rw-r--r--Tools/DumpRenderTree/DumpRenderTreePrefix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/DumpRenderTree/DumpRenderTreePrefix.h b/Tools/DumpRenderTree/DumpRenderTreePrefix.h
index 1344754a6..010ca019d 100644
--- a/Tools/DumpRenderTree/DumpRenderTreePrefix.h
+++ b/Tools/DumpRenderTree/DumpRenderTreePrefix.h
@@ -32,7 +32,11 @@
#endif
+#if defined(WIN32) || defined(_WIN32)
+
// If we don't define these, they get defined in windef.h.
// We want to use std::min and std::max
#define max max
#define min min
+
+#endif