undef rk_getpwnam_r to make sure we get the real prototype and not the rewrite #define
This commit is contained in:
@@ -36,11 +36,12 @@
|
||||
#include "roken.h"
|
||||
|
||||
#ifdef TEST_GETXXYYY
|
||||
#undef rk_getpwnam_r
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
rk_getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **);
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(POSIX_GETPWNAM_R) || defined(TEST_GETXXYYY)
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user