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_EXPAND_IMPL
|
||||||
#define GHC_INLINE
|
#define GHC_INLINE
|
||||||
#ifdef GHC_OS_WINDOWS
|
#ifdef GHC_OS_WINDOWS
|
||||||
|
#ifndef GHC_FS_API
|
||||||
#define GHC_FS_API
|
#define GHC_FS_API
|
||||||
|
#endif
|
||||||
|
#ifndef GHC_FS_API_CLASS
|
||||||
#define GHC_FS_API_CLASS
|
#define GHC_FS_API_CLASS
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
|
#ifndef GHC_FS_API
|
||||||
#define GHC_FS_API __attribute__((visibility("default")))
|
#define GHC_FS_API __attribute__((visibility("default")))
|
||||||
|
#endif
|
||||||
|
#ifndef GHC_FS_API_CLASS
|
||||||
#define GHC_FS_API_CLASS __attribute__((visibility("default")))
|
#define GHC_FS_API_CLASS __attribute__((visibility("default")))
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#elif defined(GHC_FILESYSTEM_FWD)
|
#elif defined(GHC_FILESYSTEM_FWD)
|
||||||
#define GHC_INLINE
|
#define GHC_INLINE
|
||||||
#ifdef GHC_OS_WINDOWS
|
#ifdef GHC_OS_WINDOWS
|
||||||
|
#ifndef GHC_FS_API
|
||||||
#define GHC_FS_API extern
|
#define GHC_FS_API extern
|
||||||
|
#endif
|
||||||
|
#ifndef GHC_FS_API_CLASS
|
||||||
#define GHC_FS_API_CLASS
|
#define GHC_FS_API_CLASS
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
|
#ifndef GHC_FS_API
|
||||||
#define GHC_FS_API extern
|
#define GHC_FS_API extern
|
||||||
|
#endif
|
||||||
|
#ifndef GHC_FS_API_CLASS
|
||||||
#define GHC_FS_API_CLASS
|
#define GHC_FS_API_CLASS
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define GHC_EXPAND_IMPL
|
#define GHC_EXPAND_IMPL
|
||||||
#define GHC_INLINE inline
|
#define GHC_INLINE inline
|
||||||
|
#ifndef GHC_FS_API
|
||||||
#define GHC_FS_API
|
#define GHC_FS_API
|
||||||
|
#endif
|
||||||
|
#ifndef GHC_FS_API_CLASS
|
||||||
#define GHC_FS_API_CLASS
|
#define GHC_FS_API_CLASS
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef GHC_EXPAND_IMPL
|
#ifdef GHC_EXPAND_IMPL
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user