aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 5d2fb39ee..a826d7eaa 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -150,7 +150,9 @@ IMPL(setlinebuf, void, ,FILE *fd UNUSED_PARAM)
150 * ANSI emulation wrappers 150 * ANSI emulation wrappers
151 */ 151 */
152 152
153BOOL winansi_OemToCharBuff(LPCSTR s, LPSTR d, DWORD len); 153BOOL conToCharBuffA(LPSTR d, DWORD len);
154BOOL conToCharA(LPSTR d);
155
154void set_title(const char *str); 156void set_title(const char *str);
155void move_cursor_row(int n); 157void move_cursor_row(int n);
156void reset_screen(void); 158void reset_screen(void);
@@ -166,10 +168,7 @@ int winansi_fprintf(FILE *stream, const char *format, ...) __attribute__((format
166int winansi_write(int fd, const void *buf, size_t count); 168int winansi_write(int fd, const void *buf, size_t count);
167int winansi_read(int fd, void *buf, size_t count); 169int winansi_read(int fd, void *buf, size_t count);
168int winansi_getc(FILE *stream); 170int winansi_getc(FILE *stream);
169#if ENABLE_FEATURE_EURO 171
170# undef OemToCharBuff
171# define OemToCharBuff winansi_OemToCharBuff
172#endif
173#define putchar winansi_putchar 172#define putchar winansi_putchar
174#define puts winansi_puts 173#define puts winansi_puts
175#define fwrite winansi_fwrite 174#define fwrite winansi_fwrite