Commit 0b2bd0fc authored by gabime's avatar gabime

eol_size()

parent 94513be0
......@@ -55,6 +55,15 @@ constexpr inline const char* eol()
return "\n";
#endif
}
constexpr inline unsigned short eol_size()
{
#ifdef _WIN32
return 2;
#else
return 1;
#endif
}
} //os
} //details
} //c11log
......
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