mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
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:

committed by
cgzones

parent
c3952e7c20
commit
b85a31415e
6
CRT.h
6
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);
|
||||
|
||||
|
Reference in New Issue
Block a user