From 5107c0f350bad10022178737fb7d09f35061e60c Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Mon, 1 Feb 2021 10:35:52 -0600 Subject: [PATCH] No longer need header replacement for sbsms.h --- lib-src/header-substitutes/sbsms.h | 16 ---------------- src/effects/SBSMSEffect.h | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 lib-src/header-substitutes/sbsms.h diff --git a/lib-src/header-substitutes/sbsms.h b/lib-src/header-substitutes/sbsms.h deleted file mode 100644 index d9b830cd0..000000000 --- a/lib-src/header-substitutes/sbsms.h +++ /dev/null @@ -1,16 +0,0 @@ -// -*- mode: c++ -*- -// Indirectly include SBSMS header so that we can disable warnings about unused parameters -// when compiling Audacity itself. - -#ifdef _MSC_VER -// If this is compiled with MSVC (Visual Studio) -#pragma warning( push ) -#pragma warning( disable : 4100) -#include "../sbsms/include/sbsms.h" -#pragma warning( pop ) - -#else //_MSC_VER - -#include "../sbsms/include/sbsms.h" - -#endif //_MSC_VER diff --git a/src/effects/SBSMSEffect.h b/src/effects/SBSMSEffect.h index 62e1d1f00..8ec97664c 100644 --- a/src/effects/SBSMSEffect.h +++ b/src/effects/SBSMSEffect.h @@ -19,7 +19,7 @@ #if USE_SBSMS #include "Effect.h" -#include "../../../lib-src/header-substitutes/sbsms.h" +#include using namespace _sbsms_;