aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/calendar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/calendar.h')
-rw-r--r--src/lib/utils/calendar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/calendar.h b/src/lib/utils/calendar.h
index 91da9edc0..8c9d1f084 100644
--- a/src/lib/utils/calendar.h
+++ b/src/lib/utils/calendar.h
@@ -18,7 +18,7 @@ namespace Botan {
/**
* Struct representing a particular date and time
*/
-struct BOTAN_DLL calendar_point
+struct BOTAN_PUBLIC_API(2,0) calendar_point
{
/** The year */
uint32_t year;
@@ -69,7 +69,7 @@ struct BOTAN_DLL calendar_point
* @param time_point a time point from the system clock
* @return calendar_point object representing this time point
*/
-BOTAN_DLL calendar_point calendar_value(
+BOTAN_PUBLIC_API(2,0) calendar_point calendar_value(
const std::chrono::system_clock::time_point& time_point);
}