Add extra guards for window-only performance checking

This commit is contained in:
gingerBill
2020-04-07 11:47:28 +01:00
parent 7ff690500a
commit 29a3cb25d3
3 changed files with 17 additions and 11 deletions
+5 -1
View File
@@ -8,10 +8,10 @@
#endif
#if defined(GB_SYSTEM_WINDOWS)
#define NOMINMAX 1
#include <windows.h>
#undef NOMINMAX
#include <psapi.h>
#endif
#define GB_WINDOWS_H_INCLUDED
@@ -21,6 +21,10 @@
#include <wchar.h>
#include <stdio.h>
#if defined(GB_COMPILER_MSVC)
#include <psapi.h>
#endif
#include <math.h>
template <typename U, typename V>