summaryrefslogtreecommitdiff
path: root/emulators/pearpc/files/patch-src::io::prom::fs::hfsplus::unicode.c
blob: 0034da8ce6cd7479a637b7289f8117d743c3ff9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/io/prom/fs/hfsplus/unicode.c.DIST       Thu May  6 10:45:32 2004
+++ src/io/prom/fs/hfsplus/unicode.c    Tue May 25 10:06:24 2004
@@ -28,6 +28,16 @@
 
 #include "unicode.h"
 
+#ifdef FREEBSD_MB_SUPPORT
+size_t  mbrtowc __P((wchar_t * __restrict, const char * __restrict, size_t,
+                    mbstate_t * __restrict));
+size_t  wcrtomb __P((char * __restrict, wchar_t, mbstate_t * __restrict));
+
+#include "mbrtowc.c"
+#include "wcrtomb.c"
+#endif /* FREEBSD_MB_SUPPORT */
+
+
 /* convert the asci string astr into a unicode string given by ustr.
  *
  * ToDo: Think about better error handling ?