aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authormitchell <unknown>2020-01-05 17:10:23 -0500
committermitchell <unknown>2020-01-05 17:10:23 -0500
commitca79b65eea2653ecbf62eb0f1d0caf4ff6dea601 (patch)
treea2469638126f8a958ad6e86b6ee6b2b7eedaf036 /test
parent51c270affe753fcfae24887ee940e8061c631d7d (diff)
downloadscintilla-mirror-ca79b65eea2653ecbf62eb0f1d0caf4ff6dea601.tar.gz
Synchronizing LongTerm3 with default.
Ideally this covers anything missed during the backport process.
Diffstat (limited to 'test')
-rw-r--r--test/unit/UnitTester.vcxproj2
-rw-r--r--test/unit/makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/test/unit/UnitTester.vcxproj b/test/unit/UnitTester.vcxproj
index c80270618..65a3529fc 100644
--- a/test/unit/UnitTester.vcxproj
+++ b/test/unit/UnitTester.vcxproj
@@ -163,4 +163,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
+</Project> \ No newline at end of file
diff --git a/test/unit/makefile b/test/unit/makefile
index 51c4950d5..a9d10f748 100644
--- a/test/unit/makefile
+++ b/test/unit/makefile
@@ -5,6 +5,8 @@
# clang works only with libc++, not libstdc++
# Tested with clang 3.3 and g++ 4.8
+CXXSTD=c++11
+
ifndef windir
ifeq ($(shell uname),Darwin)
# On OS X always use clang as g++ is old version
@@ -13,7 +15,7 @@ USELIBCPP = 1
endif
endif
-CXXFLAGS += --std=c++11
+CXXFLAGS += --std=$(CXXSTD)
ifdef CLANG
CXX = clang++