We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 380ca30 commit a5d3022Copy full SHA for a5d3022
src/Helpers.h
@@ -15,6 +15,8 @@ the LICENSE file.
15
#if defined(__linux__)
16
#include <chrono> // NOLINT [build/c++11]
17
#define vw_millis() std::chrono::duration_cast<std::chrono::duration<uint32_t, std::milli>>(std::chrono::system_clock::now().time_since_epoch()).count()
18
+#else
19
+ #define vw_millis() millis()
20
#endif
21
22
#define vw_abort() abort()
0 commit comments