dll: cygwin integration checkpoint

This commit is contained in:
Bill Zissimopoulos
2016-05-31 00:02:45 -07:00
parent b7665478d9
commit fd8a3ab786
5 changed files with 76 additions and 49 deletions

View File

@@ -39,6 +39,7 @@ extern "C" {
#endif
#endif
#if !defined(FSP_FUSE_MEMFN_P)
#define FSP_FUSE_MEMFN_P void *(*memalloc)(size_t), void (*memfree)(void *)
#define FSP_FUSE_MEMFN_A memalloc, memfree
#if defined(WINFSP_DLL_INTERNAL)
@@ -46,6 +47,7 @@ extern "C" {
#else
#define FSP_FUSE_MEMFN_V malloc, free
#endif
#endif
#define FUSE_OPT_KEY(templ, key) { templ, -1, key }
#define FUSE_OPT_END { NULL, 0, 0 }