Okay, seems I missed a prior change that made the XATTR_CREATE and
XATTR_REPLACE functions not included when __FreeBSD__ is defined (which
also includes OS X). Also, the macros that define the symbols when
FreeBSD or NetBSD is used instead of including <sys/xattr.h> didn't
account correctly for OS X's __FreeBSD__ having a value of 10. This
corrects that.
#include <fuse.h>
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if (defined(__FreeBSD__) && __FreeBSD__ < 10) || defined(__NetBSD__)
# define XATTR_CREATE 1
# define XATTR_REPLACE 2
#else
OUTPUT:
RETVAL
-#ifndef __FreeBSD__
SV *
XATTR_CREATE()
CODE:
OUTPUT:
RETVAL
-#endif
-
void
perl_fuse_main(...)
PREINIT: