1
0
mirror of https://github.com/winfsp/winfsp.git synced 2026-01-06 19:28:52 -06:00

inc: fuse: use FSP_FUSE_SYM to define FUSE symbols

This commit is contained in:
Bill Zissimopoulos
2016-06-17 14:24:15 -07:00
parent 99a1e331b5
commit 29496a35be
4 changed files with 32 additions and 28 deletions

View File

@@ -35,6 +35,10 @@ extern "C" {
#define FSP_FUSE_API __declspec(dllimport)
#endif
#if !defined(FSP_FUSE_SYM)
#define FSP_FUSE_SYM static inline
#endif
/*
* FUSE uses a number of types (notably: struct stat) that are OS specific.
* Furthermore there are sometimes multiple definitions of the same type even