1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-22 02:50:28 +03:00

lib/replace: Undo change of 0 -> NULL

This reverts part of e9d797e153ae95561dbb10b56a41281b2472f137 as
in the autoconf tests, NULL isn't available!

(it is available in waf, which caused confusion)

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2012-06-03 15:45:16 +10:00
parent 6c4cdbe891
commit aa08fc066b

View File

@ -188,7 +188,7 @@ if test x"$ac_cv_func_getxattr" = x"yes" ; then
#include <sys/xattr.h>
#endif
],[
getxattr(NULL, NULL, NULL, 0, 0, 0);
getxattr(0, 0, 0, 0, 0, 0);
],
[smb_attr_cv_xattr_add_opt=yes],
[smb_attr_cv_xattr_add_opt=no;LIBS=$old_LIBS])