fixup! Use glib WIN32 defines

This commit is contained in:
Patrick Griffis
2017-06-26 19:21:31 -04:00
parent 8a6570862f
commit 4d5e2874da
2 changed files with 3 additions and 5 deletions

View File

@@ -24,10 +24,6 @@
#include <glib.h>
#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 */

View File

@@ -16,6 +16,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <glib.h>
#define WANTSOCKET
#include "inet.h" /* make it first to avoid macro redefinitions */
@@ -40,7 +43,6 @@
#include <sys/utsname.h>
#endif
#include "config.h"
#include <fcntl.h>
#include <errno.h>
#include "hexchat.h"