mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fixes support for MSVC 2013 (#104)
This commit is contained in:
committed by
Peter Johnson
parent
8007a7b153
commit
ade4e87d6f
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user