Common/Timer: Change HANDLE to void* to avoid including Windows.h to fix cmake build.
This commit is contained in:
1 parent
f8bf35e6f0
commit
cb20959679
1 file changed
+2
-5
@@ -5,10 +5,6 @@
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
namespace Common
|
||||
{
|
||||
class Timer
|
||||
@@ -49,7 +45,8 @@ public:
|
||||
|
||||
private:
|
||||
#ifdef _WIN32
|
||||
HANDLE m_timer_handle;
|
||||
// Using void* to avoid including Windows.h in this header just for HANDLE.
|
||||
void* m_timer_handle;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user