mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3:lib: Fix checking for config.h #define in system.c
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
2f6ed306ff
commit
3da98cb191
@ -580,7 +580,7 @@ char *sys_getwd(void)
|
||||
{
|
||||
#ifdef GETCWD_TAKES_NULL
|
||||
return getcwd(NULL, 0);
|
||||
#elif HAVE_GETCWD
|
||||
#elif defined(HAVE_GETCWD)
|
||||
char *wd = NULL, *s = NULL;
|
||||
size_t allocated = PATH_MAX;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user