perf: [msr] WIN_MSR code only applicable when _WIN32 defined
static int *m_msr_fd = NULL; /**< MSR driver file descriptors table */
static unsigned m_maxcores = 0; /**< max number of cores (size of the
table above too) */
+#ifdef _WIN32
#ifdef WIN_MSR
union msr_data {
uint64_t ui64;
@@ -99,6 +100,7 @@ deInitMSRdriver(void)
hOpenLibSys = NULL;
}
#endif /* WIN_MSR */
+#endif /* _WIN32 */
int
machine_init(const unsigned max_core_id)
