ca7c1f89dc
The #warning directive is not supported by MSVC. To still get a message to the user we use #pragma message() under MSVC now.
20 lines
424 B
C
20 lines
424 B
C
// Formatting library for C++ - time formatting
|
|
//
|
|
// Copyright (c) 2012 - present, Victor Zverovich
|
|
// All rights reserved.
|
|
//
|
|
// For the license information refer to format.h.
|
|
|
|
#ifndef FMT_TIME_H_
|
|
#define FMT_TIME_H_
|
|
|
|
#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_
|