summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-16 13:29:12 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-16 13:29:12 +0000
commit68e7d996eab688a59b309bbad0a80f81277126b0 (patch)
tree4b01c583316cf0186e31c48273abf644370de196 /win
parentf1c1633eb9e67ff421afe4d9a223ba7888edb5c1 (diff)
And add colour.h to wrapper resource instead of the source.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7448 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r--win/inspircd_win32wrapper.cpp1
-rw-r--r--win/inspircd_win32wrapper.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp
index 9ca4fd7c9..3a929d09e 100644
--- a/win/inspircd_win32wrapper.cpp
+++ b/win/inspircd_win32wrapper.cpp
@@ -12,7 +12,6 @@
*/
#include "inspircd_win32wrapper.h"
-#include "colours.h"
#include "inspircd.h"
#include <string>
#include <errno.h>
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index 602ee1eee..61841e391 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -66,6 +66,9 @@
#include <stdio.h>
#include <algorithm>
+/* printf_c support for printing ansi colors in console */
+#include "colours.h"
+
/* strcasecmp is not defined on windows by default */
#define strcasecmp _stricmp