File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ namespace matplot::backend {
37
37
38
38
gnuplot::gnuplot () {
39
39
// 1st option: terminal in GNUTERM environment variable
40
- #if defined(_MSC_VER) || \
41
- defined (__CYGWIN__)
40
+ #if defined(_MSC_VER)
42
41
char *environment_terminal;
43
42
size_t len;
44
43
errno_t err = _dupenv_s (&environment_terminal, &len, " GNUTERM" );
@@ -51,7 +50,7 @@ namespace matplot::backend {
51
50
if (terminal_is_available (environment_terminal)) {
52
51
terminal_ = environment_terminal;
53
52
}
54
- #if defined(_WIN32) || defined(_WIN64) || defined(__MINGW32__) || defined(__CYGWIN__)
53
+ #if defined(_WIN32) || defined(_WIN64) || defined(__MINGW32__)
55
54
} else if (terminal_is_available (" wxt" )) {
56
55
// 2nd option: wxt on windows, even if not default
57
56
terminal_ = " wxt" ;
@@ -436,4 +435,4 @@ namespace matplot::backend {
436
435
std::end (blacklist);
437
436
}
438
437
439
- } // namespace matplot::backend
438
+ } // namespace matplot::backend
You can’t perform that action at this time.
0 commit comments