Enable utf8 I/O stuff when compiling with MinGW.
[platform/upstream/flac.git] / include / share / win_utf8_io.h
1 #ifdef _WIN32
2
3 #ifndef flac__win_utf8_io_h
4 #define flac__win_utf8_io_h
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 #include <stdio.h>
11 #include <sys/stat.h>
12 #include <stdarg.h>
13
14
15 int get_utf8_argv(int *argc, char ***argv);
16
17 int printf_utf8(const char *format, ...);
18 int fprintf_utf8(FILE *stream, const char *format, ...);
19 int vfprintf_utf8(FILE *stream, const char *format, va_list argptr);
20
21 FILE *fopen_utf8(const char *filename, const char *mode);
22 int stat_utf8(const char *path, struct stat *buffer);
23 int _stat64_utf8(const char *path, struct _stat64 *buffer);
24 int chmod_utf8(const char *filename, int pmode);
25 int utime_utf8(const char *filename, struct utimbuf *times);
26 int unlink_utf8(const char *filename);
27 int rename_utf8(const char *oldname, const char *newname);
28
29 #ifdef __cplusplus
30 } /* extern "C" */
31 #endif
32
33 #endif
34 #endif