A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/alandefreitas/matplotplusplus/commit/f59039461c9d8ab5c8ef95e9933605ade6b4b825 below:

Fix compiling on Cygwin · alandefreitas/matplotplusplus@f590394 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-4

lines changed

Filter options

Expand file treeCollapse 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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4