From ebdb1bd55c1e43a44da6de889c6ed5d630ace172 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Thu, 18 Jan 2024 18:25:29 +0800 Subject: [PATCH] Fix bug --- strptime/strptime.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/strptime/strptime.h b/strptime/strptime.h index 891e6f4..1985caf 100644 --- a/strptime/strptime.h +++ b/strptime/strptime.h @@ -1,10 +1,18 @@ #ifndef STRPTIME_H #define STRPTIME_H +#if __cplusplus +extern "C" { +#endif + #include #ifdef _WIN32 char* strptime(const char *buf, const char *fmt, struct tm *tm); #endif +#if __cplusplus +} +#endif + #endif // STRPTIME_H