Commit b9e0249ca3a15c9e43a3cb0be975677ffe093485
1 parent
48e89410
Exists in
master
and in
3 other branches
Correcoes para compilacao no mingw64
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
XtGlue.c
telnet.c
... | ... | @@ -656,9 +656,9 @@ int net_connect(H3270 *session, const char *host, char *portname, Boolean ls, Bo |
656 | 656 | case SE_EINPROGRESS: |
657 | 657 | *pending = True; |
658 | 658 | trace_dsn("Connection pending.\n"); |
659 | -// #if !defined(_WIN32) | |
659 | +#if !defined(_WIN32) | |
660 | 660 | output_id = AddOutput(session->sock, session, output_possible); |
661 | -// #endif | |
661 | +#endif | |
662 | 662 | break; |
663 | 663 | |
664 | 664 | default: | ... | ... |
util.c
... | ... | @@ -76,7 +76,7 @@ int get_version_info(void) |
76 | 76 | info.dwOSVersionInfoSize = sizeof(info); |
77 | 77 | if(GetVersionEx(&info) == 0) |
78 | 78 | { |
79 | - lib3270_write_log("lib3270","%s","Can't get Windows version"); | |
79 | + lib3270_write_log(NULL,"lib3270","%s","Can't get Windows version"); | |
80 | 80 | return -1; |
81 | 81 | } |
82 | 82 | ... | ... |