mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Merge pull request #96 from phprus/custom-api-spec
Allow customization of export attributes
This commit is contained in:
commit
77a8df068d
@ -95,27 +95,47 @@
|
||||
#define GHC_EXPAND_IMPL
|
||||
#define GHC_INLINE
|
||||
#ifdef GHC_OS_WINDOWS
|
||||
#ifndef GHC_FS_API
|
||||
#define GHC_FS_API
|
||||
#endif
|
||||
#ifndef GHC_FS_API_CLASS
|
||||
#define GHC_FS_API_CLASS
|
||||
#endif
|
||||
#else
|
||||
#ifndef GHC_FS_API
|
||||
#define GHC_FS_API __attribute__((visibility("default")))
|
||||
#endif
|
||||
#ifndef GHC_FS_API_CLASS
|
||||
#define GHC_FS_API_CLASS __attribute__((visibility("default")))
|
||||
#endif
|
||||
#endif
|
||||
#elif defined(GHC_FILESYSTEM_FWD)
|
||||
#define GHC_INLINE
|
||||
#ifdef GHC_OS_WINDOWS
|
||||
#ifndef GHC_FS_API
|
||||
#define GHC_FS_API extern
|
||||
#endif
|
||||
#ifndef GHC_FS_API_CLASS
|
||||
#define GHC_FS_API_CLASS
|
||||
#endif
|
||||
#else
|
||||
#ifndef GHC_FS_API
|
||||
#define GHC_FS_API extern
|
||||
#endif
|
||||
#ifndef GHC_FS_API_CLASS
|
||||
#define GHC_FS_API_CLASS
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#define GHC_EXPAND_IMPL
|
||||
#define GHC_INLINE inline
|
||||
#ifndef GHC_FS_API
|
||||
#define GHC_FS_API
|
||||
#endif
|
||||
#ifndef GHC_FS_API_CLASS
|
||||
#define GHC_FS_API_CLASS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef GHC_EXPAND_IMPL
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user