Commit 2ac214ae authored by gabime's avatar gabime

snprinf for msc ver

parent b396ff85
......@@ -31,3 +31,8 @@ inline std::tm c11log::details::os::localtime()
std::time_t now_t = time(0);
return localtime(now_t);
}
// Take care of snprintf in visual studio
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment