summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-03-03 01:52:27 +0000
committerSadie Powell <sadie@witchery.services>2021-03-03 01:52:27 +0000
commitd55581a1107de1e548b67d29a9ca0fcb7f1a0572 (patch)
tree7e84901a544935455efd5ade99222960a3a7c9ea /win/inspircd_win32wrapper.h
parentdbaa0f6be119a1e74e6139d240d77efcba43b504 (diff)
Fix not being able to colour format output to stderr on Windows.
Diffstat (limited to 'win/inspircd_win32wrapper.h')
-rw-r--r--win/inspircd_win32wrapper.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index 49fc1c665..0f492c924 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -196,3 +196,11 @@ struct sockaddr_un
ADDRESS_FAMILY sun_family;
char sun_path[6];
};
+
+struct WindowsStream
+{
+ WORD BackgroundColor;
+ WORD ForegroundColor;
+ HANDLE Handle;
+ WindowsStream(DWORD handle);
+}; \ No newline at end of file