From ff5db0ed1e897540217b378a691c6f3601c6243c Mon Sep 17 00:00:00 2001 From: peavey Date: Mon, 16 Jul 2007 11:53:15 +0000 Subject: Use colours.h in win_wrapper and also add __COLOURS_H define. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7444 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/colours.h | 6 ++++++ win/inspircd_win32wrapper.cpp | 1 + 2 files changed, 7 insertions(+) (limited to 'win') diff --git a/win/colours.h b/win/colours.h index f30142bf9..6a71d7853 100644 --- a/win/colours.h +++ b/win/colours.h @@ -11,6 +11,9 @@ * --------------------------------------------------- */ +#ifndef __COLOURS_H +#define __COLOURS_H + #define TRED FOREGROUND_RED | FOREGROUND_INTENSITY #define TGREEN FOREGROUND_GREEN | FOREGROUND_INTENSITY #define TYELLOW FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY @@ -92,3 +95,6 @@ int printf_c(const char * format, ...) return c; } + +#endif + diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index 3a929d09e..9ca4fd7c9 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -12,6 +12,7 @@ */ #include "inspircd_win32wrapper.h" +#include "colours.h" #include "inspircd.h" #include #include -- cgit v1.2.3