From a42ee82a3a92d2a560643c8b94aaa7e915bb421a Mon Sep 17 00:00:00 2001 From: Pablo2048 Date: Tue, 12 Nov 2024 11:17:29 +0100 Subject: [PATCH] Zverejneni default SYSVAR_FILE --- src/sysvars.cpp | 4 ---- src/sysvars.hpp | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sysvars.cpp b/src/sysvars.cpp index ba05f87..60865b9 100644 --- a/src/sysvars.cpp +++ b/src/sysvars.cpp @@ -14,10 +14,6 @@ # define DEBUG_SYSVARS 0 #endif -#if not defined(SYSVAR_FILE) - #define SYSVAR_FILE "/cfg.json" -#endif - template T svGetV(const String & name, const T deflt) { diff --git a/src/sysvars.hpp b/src/sysvars.hpp index f966674..e43a605 100644 --- a/src/sysvars.hpp +++ b/src/sysvars.hpp @@ -7,6 +7,10 @@ #include +#if not defined(SYSVAR_FILE) + #define SYSVAR_FILE "/cfg.json" +#endif + enum { SV_OK = 0, SV_UNSPECIFIED_ERROR = -1,