Commit b9e0249ca3a15c9e43a3cb0be975677ffe093485

Authored by perry.werneck@gmail.com
1 parent 48e89410

Correcoes para compilacao no mingw64

Showing 3 changed files with 4 additions and 4 deletions   Show diff stats
XtGlue.c
... ... @@ -55,8 +55,8 @@
55 55  
56 56 #if defined(_WIN32) /*[*/
57 57  
58   - #include <windows.h>
59 58 #include <winsock2.h>
  59 + #include <windows.h>
60 60 #include <ws2tcpip.h>
61 61  
62 62 #else /*][*/
... ...
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  
... ...