mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-29 14:09:49 +01:00
debug: fix ISDEBUG checking (#8823)
This commit is contained in:
parent
2a24a61126
commit
1a3d17da91
2 changed files with 4 additions and 4 deletions
|
@ -111,7 +111,7 @@ void NCrashReporter::createAndSaveCrash(int sig) {
|
||||||
#ifdef LEGACY_RENDERER
|
#ifdef LEGACY_RENDERER
|
||||||
finalCrashReport += "legacyrenderer\n";
|
finalCrashReport += "legacyrenderer\n";
|
||||||
#endif
|
#endif
|
||||||
#ifndef ISDEBUG
|
#if ISDEBUG
|
||||||
finalCrashReport += "debug\n";
|
finalCrashReport += "debug\n";
|
||||||
#endif
|
#endif
|
||||||
#ifdef NO_XWAYLAND
|
#ifdef NO_XWAYLAND
|
||||||
|
|
|
@ -884,14 +884,14 @@ std::string versionRequest(eHyprCtlOutputFormat format, std::string request) {
|
||||||
HYPRLAND_VERSION, GIT_BRANCH, GIT_COMMIT_HASH, GIT_DIRTY, commitMsg, GIT_COMMIT_DATE, GIT_TAG, GIT_COMMITS, AQUAMARINE_VERSION,
|
HYPRLAND_VERSION, GIT_BRANCH, GIT_COMMIT_HASH, GIT_DIRTY, commitMsg, GIT_COMMIT_DATE, GIT_TAG, GIT_COMMITS, AQUAMARINE_VERSION,
|
||||||
HYPRLANG_VERSION, HYPRUTILS_VERSION, HYPRCURSOR_VERSION, HYPRGRAPHICS_VERSION);
|
HYPRLANG_VERSION, HYPRUTILS_VERSION, HYPRCURSOR_VERSION, HYPRGRAPHICS_VERSION);
|
||||||
|
|
||||||
#if (!defined(LEGACY_RENDERER) && !defined(ISDEBUG) && !defined(NO_XWAYLAND))
|
#if (!defined(LEGACY_RENDERER) && !ISDEBUG && !defined(NO_XWAYLAND))
|
||||||
result += "no flags were set\n";
|
result += "no flags were set\n";
|
||||||
#else
|
#else
|
||||||
result += "flags set:\n";
|
result += "flags set:\n";
|
||||||
#ifdef LEGACY_RENDERER
|
#ifdef LEGACY_RENDERER
|
||||||
result += "legacyrenderer\n";
|
result += "legacyrenderer\n";
|
||||||
#endif
|
#endif
|
||||||
#ifdef ISDEBUG
|
#if ISDEBUG
|
||||||
result += "debug\n";
|
result += "debug\n";
|
||||||
#endif
|
#endif
|
||||||
#ifdef NO_XWAYLAND
|
#ifdef NO_XWAYLAND
|
||||||
|
@ -922,7 +922,7 @@ std::string versionRequest(eHyprCtlOutputFormat format, std::string request) {
|
||||||
#ifdef LEGACY_RENDERER
|
#ifdef LEGACY_RENDERER
|
||||||
result += "\"legacyrenderer\",";
|
result += "\"legacyrenderer\",";
|
||||||
#endif
|
#endif
|
||||||
#ifdef ISDEBUG
|
#if ISDEBUG
|
||||||
result += "\"debug\",";
|
result += "\"debug\",";
|
||||||
#endif
|
#endif
|
||||||
#ifdef NO_XWAYLAND
|
#ifdef NO_XWAYLAND
|
||||||
|
|
Loading…
Reference in a new issue