From be8218949c77e40c76621a6039fee2f23dc6c969 Mon Sep 17 00:00:00 2001 From: Hirek Date: Thu, 21 Aug 2025 20:22:26 +0200 Subject: [PATCH] More linux specific blocks --- McZapkie/Mover.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/McZapkie/Mover.cpp b/McZapkie/Mover.cpp index 2474a3f9..f932ce39 100644 --- a/McZapkie/Mover.cpp +++ b/McZapkie/Mover.cpp @@ -11440,7 +11440,11 @@ void TMoverParameters::LoadFIZ_PowerParamsDecode( TPowerParameters &Powerparamet extract_value(PantType, "PantType", Line, ""); if (PantType == "AKP_4E") collectorparameters.PantographType = TPantType::AKP_4E; +#ifdef _WIN32 if (PantType._Starts_with("DSA")) // zakladam ze wszystkie pantografy DSA sa takie same +#elif __linux__ + if (PantType.starts_with("DSA")) +#endif collectorparameters.PantographType = TPantType::DSAx; if (PantType == "EC160" || PantType == "EC200") collectorparameters.PantographType = TPantType::EC160_200;