summaryrefslogtreecommitdiffstats
path: root/libblkid/widechar.h
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2015-01-02 01:44:14 +0100
committerDees Troy <dees_troy@teamw.in>2015-01-05 04:38:42 +0100
commit7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de (patch)
treefb69cb515cb4ab675d5850684cc402100b7a2a22 /libblkid/widechar.h
parentcrypto: remove unused libs and clean up makefile (diff)
downloadandroid_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.gz
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.bz2
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.lz
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.xz
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.zst
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.zip
Diffstat (limited to 'libblkid/widechar.h')
-rw-r--r--libblkid/widechar.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/libblkid/widechar.h b/libblkid/widechar.h
deleted file mode 100644
index b023b5fb2..000000000
--- a/libblkid/widechar.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Declarations for wide characters */
-/* This file must be included last because the redefinition of wchar_t may
- cause conflicts when system include files were included after it. */
-
-#ifdef HAVE_WIDECHAR
-
-# include <wchar.h>
-# include <wctype.h>
-
-#else /* !HAVE_WIDECHAR */
-
-# include <ctype.h>
- /* Fallback for types */
-# define wchar_t char
-# define wint_t int
-# define WEOF EOF
- /* Fallback for input operations */
-# define fgetwc fgetc
-# define getwc getc
-# define getwchar getchar
-# define fgetws fgets
- /* Fallback for output operations */
-# define fputwc fputc
-# define putwc putc
-# define putwchar putchar
-# define fputws fputs
- /* Fallback for character classification */
-# define iswgraph isgraph
-# define iswprint isprint
-# define iswspace isspace
- /* Fallback for string functions */
-# define wcschr strchr
-# define wcsdup strdup
-# define wcslen strlen
-
-# define wcwidth(c) 1
-
-#endif /* HAVE_WIDECHAR */