summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libw32c.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-09-07 14:04:45 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-09-07 14:04:45 +0200
commiteeb062edcdea166aa2a90874f272a440b7fa9941 (patch)
tree8fb33721c4090ee55788c3963ba98e7f3e25d084 /crawl-ref/source/libw32c.h
parentf99166ed9de3901010fe6544640203d690b79776 (diff)
downloadcrawl-ref-eeb062edcdea166aa2a90874f272a440b7fa9941.tar.gz
crawl-ref-eeb062edcdea166aa2a90874f272a440b7fa9941.zip
Catch attempts to print out a character >U+FFFF on Windows.
Diffstat (limited to 'crawl-ref/source/libw32c.h')
-rw-r--r--crawl-ref/source/libw32c.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/libw32c.h b/crawl-ref/source/libw32c.h
index 13247d61f9..b9dec4f327 100644
--- a/crawl-ref/source/libw32c.h
+++ b/crawl-ref/source/libw32c.h
@@ -3,6 +3,7 @@
#ifndef USE_TILE
+#include "defines.h"
#include <string>
#include <stdarg.h>
#include <stdio.h>
@@ -32,7 +33,7 @@ void print_timings(void);
int wherex(void);
int wherey(void);
-void putwch(wchar_t c);
+void putwch(ucs_t c);
int getchk(void);
int getch_ck(void);
bool kbhit(void);