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