Avoid checking of undefined macros

These feature macros are either define or not defined at all at the
configure step.
This commit is contained in:
Christian Göttsche
2020-09-08 13:59:30 +02:00
committed by cgzones
parent c3952e7c20
commit b85a31415e
6 changed files with 20 additions and 20 deletions

6
CRT.h
View File

@ -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);