From 9c77896f2d50e3a6acb5d73dc4cd9bb8d8a64873 Mon Sep 17 00:00:00 2001 From: Gauvain 'GovanifY' Roussel-Tarbouriech Date: Sat, 15 May 2021 23:09:55 +0200 Subject: [PATCH] baseclasses: prevent collision with wxwidgets surprisingly, GSdx never ran into this issue prior as linux didn't use baseclasses but used wxwidgets, while windows did but used the winAPI GUI system. Software is cursed --- 3rdparty/baseclasses/wxdebug.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/3rdparty/baseclasses/wxdebug.h b/3rdparty/baseclasses/wxdebug.h index 62efffbeec..6877c0b935 100644 --- a/3rdparty/baseclasses/wxdebug.h +++ b/3rdparty/baseclasses/wxdebug.h @@ -7,8 +7,7 @@ //------------------------------------------------------------------------------ -#ifndef __WXDEBUG__ -#define __WXDEBUG__ +#pragma once // This library provides fairly straight forward debugging functionality, this // is split into two main sections. The first is assertion handling, there are @@ -352,8 +351,4 @@ public: #define AMTRACE(_x_) #define AMTRACEFN() -#endif - -#endif // __WXDEBUG__ - - +#endif \ No newline at end of file