Skip to content

Commit 5515d32

Browse files
Merge pull request #159 from rath3t/fixMinGWbuild
Fixing MinGW issue due to MSVC's "_dupenv_s" call
2 parents b45015e + 7cb2815 commit 5515d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/matplot/backend/gnuplot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace matplot::backend {
3737

3838
gnuplot::gnuplot() {
3939
// 1st option: terminal in GNUTERM environment variable
40-
#if defined(_WIN32) || defined(_WIN64) || defined(__MINGW32__) || \
40+
#if defined(_MSC_VER) || \
4141
defined(__CYGWIN__)
4242
char *environment_terminal;
4343
size_t len;

0 commit comments

Comments
 (0)