summaryrefslogtreecommitdiffstats
path: root/CRT.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-08 13:59:30 +0200
committercgzones <cgzones@googlemail.com>2020-09-18 12:28:40 +0200
commitb85a31415e8d68d0d46a105b1033a92669224682 (patch)
tree61020d61c68f9772967754c2598599e6ad9d84f3 /CRT.h
parentc3952e7c20a3108c2f16aa579f8062dfc2163bd8 (diff)
Avoid checking of undefined macros
These feature macros are either define or not defined at all at the configure step.
Diffstat (limited to 'CRT.h')
-rw-r--r--CRT.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/CRT.h b/CRT.h
index 20ef283e..a2cfd8a9 100644
--- a/CRT.h
+++ b/CRT.h
@@ -147,13 +147,13 @@ extern int CRT_colorScheme;
extern void *backtraceArray[128];
-#if HAVE_SETUID_ENABLED
+#ifdef HAVE_SETUID_ENABLED
void CRT_dropPrivileges(void);
void CRT_restorePrivileges(void);
-#else
+#else /* HAVE_SETUID_ENABLED */
/* Turn setuid operations into NOPs */
@@ -162,7 +162,7 @@ void CRT_restorePrivileges(void);
#define CRT_restorePrivileges()
#endif
-#endif
+#endif /* HAVE_SETUID_ENABLED */
void CRT_init(int delay, int colorScheme, bool allowUnicode);

© 2014-2024 Faster IT GmbH | imprint | privacy policy