We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d24d46b commit 66c5528Copy full SHA for 66c5528
2 files changed
lib/cmetrics/include/cmetrics/cmt_compat.h
@@ -22,7 +22,13 @@
22
23
#include <time.h>
24
#ifdef _WIN32
25
+#ifndef WIN32_LEAN_AND_MEAN
26
+#define WIN32_LEAN_AND_MEAN
27
#include <windows.h>
28
+#undef WIN32_LEAN_AND_MEAN
29
+#else
30
+#include <windows.h>
31
+#endif
32
#endif
33
34
static inline struct tm *cmt_platform_gmtime_r(const time_t *timep, struct tm *result)
lib/cmetrics/src/cmt_atomic_msvc.c
@@ -18,7 +18,13 @@
18
*/
19
20
#include <cmetrics/cmt_atomic.h>
21
/* This allows cmt_atomic_initialize to be automatically called
* as soon as the program starts if enabled.
0 commit comments