From b9e0249ca3a15c9e43a3cb0be975677ffe093485 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Thu, 10 May 2012 02:45:33 +0000 Subject: [PATCH] Correcoes para compilacao no mingw64 --- XtGlue.c | 2 +- telnet.c | 4 ++-- util.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/XtGlue.c b/XtGlue.c index 028d4d5..9cc1e7c 100644 --- a/XtGlue.c +++ b/XtGlue.c @@ -55,8 +55,8 @@ #if defined(_WIN32) /*[*/ - #include #include + #include #include #else /*][*/ diff --git a/telnet.c b/telnet.c index a9e5416..2397e8b 100644 --- a/telnet.c +++ b/telnet.c @@ -656,9 +656,9 @@ int net_connect(H3270 *session, const char *host, char *portname, Boolean ls, Bo case SE_EINPROGRESS: *pending = True; trace_dsn("Connection pending.\n"); -// #if !defined(_WIN32) +#if !defined(_WIN32) output_id = AddOutput(session->sock, session, output_possible); -// #endif +#endif break; default: diff --git a/util.c b/util.c index 788f6c3..791bfda 100644 --- a/util.c +++ b/util.c @@ -76,7 +76,7 @@ int get_version_info(void) info.dwOSVersionInfoSize = sizeof(info); if(GetVersionEx(&info) == 0) { - lib3270_write_log("lib3270","%s","Can't get Windows version"); + lib3270_write_log(NULL,"lib3270","%s","Can't get Windows version"); return -1; } -- libgit2 0.21.2