diff --git a/include/fmt/time.h b/include/fmt/time.h index 840c8cf7..80fe6e42 100644 --- a/include/fmt/time.h +++ b/include/fmt/time.h @@ -10,6 +10,10 @@ #include "chrono.h" +#ifdef _MSC_VER +#pragma message("fmt/time.h is deprecated, use fmt/chrono.h instead") +#else #warning fmt/time.h is deprecated, use fmt/chrono.h instead +#endif #endif // FMT_TIME_H_