diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-20 19:57:53 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-20 19:57:53 +0000 |
commit | 14e3000983cf98d12dab9560f7ee0e3cbcc5ddfb (patch) | |
tree | fd3b76ad73117543aa98d49eb1bc7e1e57b34637 /crawl-ref/source/libdos.h | |
parent | 8ad4f44fa747a32e0d476971beeaf2c0550f16e5 (diff) | |
download | crawl-ref-14e3000983cf98d12dab9560f7ee0e3cbcc5ddfb.tar.gz crawl-ref-14e3000983cf98d12dab9560f7ee0e3cbcc5ddfb.zip |
Fixed broken compile on DOS and Windows.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1611 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libdos.h')
-rw-r--r-- | crawl-ref/source/libdos.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/libdos.h b/crawl-ref/source/libdos.h index fd6a0a0d92..38bbd48699 100644 --- a/crawl-ref/source/libdos.h +++ b/crawl-ref/source/libdos.h @@ -12,7 +12,7 @@ void set_cursor_enabled(bool enabled); bool is_cursor_enabled(); void clear_to_end_of_line(); int getch_ck(); -void set_mouse_enabled(bool enabled) { } +static inline void set_mouse_enabled(bool enabled) { } void message_out(int mline, int colour, const char *str, int firstcol = 0, bool newline = true); @@ -21,9 +21,6 @@ inline void update_screen() { } -inline void putwch(unsigned c) -{ - putch(static_cast<char>(c)); -} +void putwch(unsigned c); #endif |