diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-08 13:59:30 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-09-18 12:28:40 +0200 |
commit | b85a31415e8d68d0d46a105b1033a92669224682 (patch) | |
tree | 61020d61c68f9772967754c2598599e6ad9d84f3 /CRT.h | |
parent | c3952e7c20a3108c2f16aa579f8062dfc2163bd8 (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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |