mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-25 07:04:58 -07:00
Add extra guards for window-only performance checking
This commit is contained in:
+5
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user