mirror of
https://github.com/hasherezade/hollows_hunter.git
synced 2026-10-12 02:15:21 +00:00
[REFACT] Cleaned ETW ifdef
This commit is contained in:
+7
-3
@@ -1,5 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#if (_MSC_VER >= 1900 )
|
||||
#define __USE_ETW__ //krabsetw is only supported with Visual Studio 2015 and above (MSVC++ 14.0)
|
||||
#endif
|
||||
|
||||
#ifdef __USE_ETW__
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <stdio.h>
|
||||
#include <iostream>
|
||||
@@ -11,8 +17,6 @@
|
||||
#include <windows.h>
|
||||
#include <time.h>
|
||||
|
||||
#if (_MSC_VER >= 1900) //krabsetw is only supported with Visual Studio 2015 and above (MSVC++ 14.0)
|
||||
|
||||
// ETW includes
|
||||
#include "krabsetw/krabs/krabs.hpp"
|
||||
|
||||
@@ -40,4 +44,4 @@ struct ETWProfile {
|
||||
|
||||
bool ETWstart(ETWProfile &settings);
|
||||
|
||||
#endif
|
||||
#endif //__USE_ETW__
|
||||
|
||||
Reference in New Issue
Block a user