diff --git a/common/debug.h b/common/debug.h index e0ffc9f8..17babeca 100644 --- a/common/debug.h +++ b/common/debug.h @@ -58,9 +58,4 @@ Place, Suite 330, Boston, MA 02111-1307 USA #define DEBUG_PROTO(fmt, args...) DEBUG_PRINT("[P]", fmt, ##args) #else #define DEBUG_PROTO(fmt, ...) do {} while(0) -#endif - -#ifdef _WIN32 - #include "Util.h" - #define DEBUG_WINERROR(x, y) Util::DebugWinError(STRIPPATH(__FILE__), __LINE__, __FUNCTION__, x, y) -#endif +#endif \ No newline at end of file diff --git a/host/Capture/DXGI.cpp b/host/Capture/DXGI.cpp index 995ec41d..36480dcb 100644 --- a/host/Capture/DXGI.cpp +++ b/host/Capture/DXGI.cpp @@ -20,7 +20,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA #include "Capture/DXGI.h" using namespace Capture; -#include "common/debug.h" +#include "WinDebug.h" #include "common/memcpySSE.h" static const char * DXGI_FORMAT_STR[] = { diff --git a/host/MFT/H264.cpp b/host/MFT/H264.cpp index db959582..2d28f195 100644 --- a/host/MFT/H264.cpp +++ b/host/MFT/H264.cpp @@ -19,7 +19,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA #include "MFT/H264.h" -#include "common/debug.h" +#include "WinDebug.h" #include "common/memcpySSE.h" #include