aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-03-27 07:41:01 +1100
committerNeil <nyamatongwe@gmail.com>2019-03-27 07:41:01 +1100
commitb82f4686810d84b27f4ef5bf040a7cf242bc9984 (patch)
tree162a9dad0605f8a90b69c2a12a1d1d599b3f58d9 /gtk/PlatGTK.cxx
parenta0841ccdf681a2b7fbcc45779191c844a1078507 (diff)
downloadscintilla-mirror-b82f4686810d84b27f4ef5bf040a7cf242bc9984.tar.gz
Add <algorithm> for std::min/max. Standardize on _WIN32 to gate Win32 features.
Protect from windows.h definition of min/max.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r--gtk/PlatGTK.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 8a33b81d4..0701eb7a1 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -13,6 +13,7 @@
#include <string_view>
#include <vector>
#include <map>
+#include <algorithm>
#include <memory>
#include <sstream>