forked from HowardHinnant/date
Enable DATE_BUILD_DLL for Linux and macOS
This commit is contained in:
6
tz.h
6
tz.h
@@ -134,7 +134,11 @@ static_assert(HAS_REMOTE_API == 0 ? AUTO_DOWNLOAD == 0 : true,
|
|||||||
# define DATE_API
|
# define DATE_API
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define DATE_API
|
# ifdef DATE_BUILD_DLL
|
||||||
|
# define DATE_API __attribute__ ((visibility ("default")))
|
||||||
|
# else
|
||||||
|
# define DATE_API
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace date
|
namespace date
|
||||||
|
Reference in New Issue
Block a user