mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-03 12:44:27 +02:00
Enable DATE_BUILD_DLL for Linux and macOS
This commit is contained in:
4
tz.h
4
tz.h
@@ -134,8 +134,12 @@ static_assert(HAS_REMOTE_API == 0 ? AUTO_DOWNLOAD == 0 : true,
|
|||||||
# define DATE_API
|
# define DATE_API
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
|
# ifdef DATE_BUILD_DLL
|
||||||
|
# define DATE_API __attribute__ ((visibility ("default")))
|
||||||
|
# else
|
||||||
# define DATE_API
|
# define DATE_API
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace date
|
namespace date
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user