diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-04-02 06:27:07 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-04-02 06:27:12 +1100 |
commit | f44c353e59641bc071afd4587049d7489dfe6317 (patch) | |
tree | 7035ba8ec203f697eb81a41e768d4d17cd5de0df /include | |
parent | c7603948de030af8f2faa2205726f1600190ed65 (diff) | |
download | flac-f44c353e59641bc071afd4587049d7489dfe6317.tar.gz |
Two small patches for utf8 I/O.
Thanks to LRN <lrn1986@gmail.com>.
Diffstat (limited to 'include')
-rw-r--r-- | include/share/compat.h | 2 | ||||
-rw-r--r-- | include/share/win_utf8_io.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/share/compat.h b/include/share/compat.h index 98eec559..88caf1ee 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -175,7 +175,7 @@ #endif #ifdef _WIN32 -#define flac_stat_s _stat64 /* stat struct */ +#define flac_stat_s __stat64 /* stat struct */ #define flac_fstat _fstat64 #else #define flac_stat_s stat /* stat struct */ diff --git a/include/share/win_utf8_io.h b/include/share/win_utf8_io.h index 598f187f..b48e85ee 100644 --- a/include/share/win_utf8_io.h +++ b/include/share/win_utf8_io.h @@ -20,7 +20,7 @@ int vfprintf_utf8(FILE *stream, const char *format, va_list argptr); FILE *fopen_utf8(const char *filename, const char *mode); int stat_utf8(const char *path, struct stat *buffer); -int _stat64_utf8(const char *path, struct _stat64 *buffer); +int _stat64_utf8(const char *path, struct __stat64 *buffer); int chmod_utf8(const char *filename, int pmode); int utime_utf8(const char *filename, struct utimbuf *times); int unlink_utf8(const char *filename); |