Browse Source

include/widechar: add fallback for WEOF

Signed-off-by: Karel Zak <kzak@redhat.com>
pull/327/head
Karel Zak 6 years ago
parent
commit
e19916c89d
  1. 4
      include/widechar.h

4
include/widechar.h

@ -13,7 +13,9 @@
/* Fallback for types */
# define wchar_t char
# define wint_t int
# define WEOF EOF
# ifndef WEOF
# define WEOF EOF
# endif
/* Fallback for input operations */
# define fgetwc fgetc

Loading…
Cancel
Save