From 287af45b6a37d9e2b34bb9f457bf6e1bfe60de08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 19 Apr 2018 13:50:20 +0200 Subject: [PATCH] Simplify ifdef --- BasePlugin/PluginFunctionsCore.hh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/BasePlugin/PluginFunctionsCore.hh b/BasePlugin/PluginFunctionsCore.hh index 19f8570c..96a7bbf6 100644 --- a/BasePlugin/PluginFunctionsCore.hh +++ b/BasePlugin/PluginFunctionsCore.hh @@ -68,11 +68,7 @@ #ifndef OPENFLIPPERCORE #ifndef OPENFLIPPERPLUGINLIB - #ifdef WIN32 - #error PluginFunctionsCore is only allowed to be used from within OpenFlippers Core application! - #else - #error PluginFunctionsCore is only allowed to be used from within OpenFlippers Core application! - #endif + #error PluginFunctionsCore is only allowed to be used from within OpenFlippers Core application! #endif #endif -- GitLab