diff --git a/include/EAStdC/EAStopwatch.h b/include/EAStdC/EAStopwatch.h index acae592..43ac26e 100644 --- a/include/EAStdC/EAStopwatch.h +++ b/include/EAStdC/EAStopwatch.h @@ -643,6 +643,11 @@ namespace StdC // You can disable usage of QueryPerformanceCounter below by defining // EASTDC_STOPWATCH_FORCE_CPU_CYCLE_USAGE as 1. // hardcode prototype here so we don't pull in + + #if !defined(_Out_) + #define _Out_ + #endif + extern "C" __declspec(dllimport) int __stdcall QueryPerformanceCounter(_Out_ union _LARGE_INTEGER *lpPerformanceCount); inline uint64_t EA::StdC::Stopwatch::GetStopwatchCycle()