From b85a31415e8d68d0d46a105b1033a92669224682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 8 Sep 2020 13:59:30 +0200 Subject: Avoid checking of undefined macros These feature macros are either define or not defined at all at the configure step. --- CRT.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CRT.h') 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); -- cgit v1.2.3