28 #ifndef WEBSOCKETPP_COMMON_TIME_HPP
29 #define WEBSOCKETPP_COMMON_TIME_HPP
41 inline std::tm localtime(std::time_t
const & time) {
43 #if (defined(WIN32) || defined(_WIN32) || defined(__WIN32__))
44 localtime_s(&tm_snapshot, &time);
46 localtime_r(&time, &tm_snapshot);
54 #endif // WEBSOCKETPP_COMMON_TIME_HPP
Namespace for the WebSocket++ project.