[REFACT] Cleaned ETW ifdef

This commit is contained in:
hasherezade
2024-10-31 13:41:52 -07:00
parent 48178af8d1
commit ff4ffe37d1
+7 -3
View File
@@ -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__