Fixes support for MSVC 2013 (#104)

This commit is contained in:
Thad House
2016-08-28 19:17:31 -07:00
committed by Peter Johnson
parent 8007a7b153
commit ade4e87d6f

View File

@@ -215,7 +215,11 @@ bool NotifierDestroyed();
* Remote Procedure Call Functions
*/
#if defined(_MSC_VER) && _MSC_VER < 1900
const double kTimeout_Indefinite = -1;
#else
constexpr double kTimeout_Indefinite = -1;
#endif
void SetRpcServerOnStart(std::function<void()> on_start);
void SetRpcServerOnExit(std::function<void()> on_exit);