-/* This file was automatically generated by make-map from ../lib/Mono.Posix.dll */
+/* This file was automatically generated by make-map from ../../mcs/class/lib/Mono.Posix.dll */
#define _GNU_SOURCE
#include <sys/types.h>
r |= O_APPEND;
if ((x & Mono_Posix_OpenFlags_O_NONBLOCK) != 0)
r |= O_NONBLOCK;
+#ifdef O_SYNC
if ((x & Mono_Posix_OpenFlags_O_SYNC) != 0)
r |= O_SYNC;
+#endif
return r;
}