mxe/src/libircclient-1-fixes.patch

43 lines
1.2 KiB
Diff
Raw Normal View History

This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Tue, 8 Oct 2013 22:37:07 +0200
Subject: [PATCH 1/2] use the proper WIN32 define
2012-01-23 07:25:43 +00:00
diff --git a/include/libircclient.h b/include/libircclient.h
index 1111111..2222222 100644
2012-01-23 07:25:43 +00:00
--- a/include/libircclient.h
+++ b/include/libircclient.h
@@ -46,7 +46,7 @@
#include <stdlib.h>
-#if !defined (WIN32)
+#if !defined (_WIN32)
2012-01-23 07:25:43 +00:00
#include <sys/select.h> /* fd_set */
#else
2012-01-23 07:25:43 +00:00
#include <winsock2.h>
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Tue, 8 Oct 2013 22:37:29 +0200
Subject: [PATCH 2/2] fix missing header
diff --git a/include/libircclient.h b/include/libircclient.h
index 1111111..2222222 100644
--- a/include/libircclient.h
+++ b/include/libircclient.h
@@ -133,6 +133,7 @@ typedef void (*irc_dcc_callback_t) (irc_session_t * session, irc_dcc_t id, int s
#include "libirc_errors.h"
#include "libirc_events.h"
#include "libirc_options.h"
+#include "libirc_rfcnumeric.h"
#undef IN_INCLUDE_LIBIRC_H