XATTR_AUTO is a value which frequently isn't definedy by any OS, yet it
has the value 0, a default value which is supported by most OS's).
svn path=/trunk/mono/; revision=67768
+2006-11-13 Jonathan Pryor <jonpryor@vt.edu>
+
+ * mph.h: Add macro for XATTR_AUTO, so that XattrFlags mapping works (as
+ XATTR_AUTO is a value which frequently isn't definedy by any OS, yet it
+ has the value 0, a default value which is supported by most OS's).
+
2006-11-08 Jonathan Pryor <jonpryor@vt.edu>
* Makefile.am: Revert addition of L_SET et al; this breaks the Win32 build.
#define L_XTND SEEK_END
#endif /* ndef L_XTND */
+/*
+ * XATTR_AUTO is a synonym for 0 within XattrFlags, but most systems don't
+ * define it. map.c doesn't know that, though, so we ensure that it's defined
+ * so that the value 0 round-trips through MonoPosixHelper.
+ */
+
+#ifndef XATTR_AUTO
+#define XATTR_AUTO 0
+#endif /* ndef XATTR_AUTO */
+
#endif /* ndef PLATFORM_WIN32 */
typedef gint64 mph_blkcnt_t;