blob: b22e42809faf450e731fe3dbf999aeebe75edef6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
This file is part of MXE.
See index.html for further information.
Contains ad hoc patches for cross building.
From aab6124359bbf8d0b3003ccf4adc791e0d921aa3 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
diff --git a/include/libircclient.h b/include/libircclient.h
index 250a0d1..7ff83be 100644
--- a/include/libircclient.h
+++ b/include/libircclient.h
@@ -46,7 +46,7 @@
#include <stdlib.h>
-#if !defined (WIN32)
+#if !defined (_WIN32)
#include <sys/select.h> /* fd_set */
#else
#include <winsock2.h>
--
1.8.1.4
From 1ac4521bd869d7cb3a82640d44f80cb9f9388eb7 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 7ff83be..677f41f 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
--
1.8.1.4
|