fixup! Use glib WIN32 defines
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user