move CreateFile function outside of libFLAC

This commit is contained in:
lvqcl
2018-08-18 13:59:51 +03:00
committed by Erik de Castro Lopo
parent a8e9857e38
commit 9fa2b5edba
6 changed files with 55 additions and 52 deletions

View File

@@ -58,6 +58,11 @@ FLAC__bool grabbag__file_remove_file(const char *filename);
FILE *grabbag__file_get_binary_stdin(void);
FILE *grabbag__file_get_binary_stdout(void);
#if defined _WIN32 && !defined __CYGWIN__
#include <windows.h>
HANDLE WINAPI grabbag__CreateFile_utf8(const char *lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
#endif
#ifdef __cplusplus
}
#endif