undef rk_getpwnam_r to make sure we get the real prototype and not the rewrite #define

This commit is contained in:
Love Hornquist Astrand
2013-05-01 14:00:31 -07:00
parent dfaedb7847
commit bb089a75a9

View File

@@ -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)
/*