summaryrefslogtreecommitdiff
path: root/include/share/grabbag/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/share/grabbag/file.h')
-rw-r--r--include/share/grabbag/file.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/share/grabbag/file.h b/include/share/grabbag/file.h
index b3f41484..7bc851af 100644
--- a/include/share/grabbag/file.h
+++ b/include/share/grabbag/file.h
@@ -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