From 4d5e2874daa4783b0ee197a220122c71312fee48 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 26 Jun 2017 19:21:31 -0400 Subject: [PATCH] fixup! Use glib WIN32 defines --- src/common/plugin-timer.c | 4 ---- src/common/util.c | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/common/plugin-timer.c b/src/common/plugin-timer.c index fb7b9a2e..dd122622 100644 --- a/src/common/plugin-timer.c +++ b/src/common/plugin-timer.c @@ -24,10 +24,6 @@ #include #include "hexchat-plugin.h" -#ifdef G_OS_WIN32 -#define g_ascii_strcasecmp stricmp -#endif - #define _(x) hexchat_gettext(ph,x) static hexchat_plugin *ph; /* plugin handle */ diff --git a/src/common/util.c b/src/common/util.c index 079aaa27..a7218dbc 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -16,6 +16,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "config.h" +#include + #define WANTSOCKET #include "inet.h" /* make it first to avoid macro redefinitions */ @@ -40,7 +43,6 @@ #include #endif -#include "config.h" #include #include #include "hexchat.h"