mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
@@ -55,11 +55,9 @@ int flac_internal_utime_utf8(const char *filename, struct utimbuf *times);
|
|||||||
int flac_internal_unlink_utf8(const char *filename);
|
int flac_internal_unlink_utf8(const char *filename);
|
||||||
int flac_internal_rename_utf8(const char *oldname, const char *newname);
|
int flac_internal_rename_utf8(const char *oldname, const char *newname);
|
||||||
|
|
||||||
#ifdef FLAC__COMPAT_USE_WINAPI
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
HANDLE WINAPI flac_internal_CreateFile_utf8(const char *lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
|
HANDLE WINAPI flac_internal_CreateFile_utf8(const char *lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
|
||||||
#define CreateFile_utf8 flac_internal_CreateFile_utf8
|
#define CreateFile_utf8 flac_internal_CreateFile_utf8
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#define FLAC__COMPAT_USE_WINAPI
|
|
||||||
#include "share/windows_unicode_filenames.h"
|
#include "share/windows_unicode_filenames.h"
|
||||||
|
|
||||||
/* convert UTF-8 back to WCHAR. Caller is responsible for freeing memory */
|
/* convert UTF-8 back to WCHAR. Caller is responsible for freeing memory */
|
||||||
|
|||||||
Reference in New Issue
Block a user