Don't use openat64 in fcntl2.h under NaCl
The NaCl build used 64-bit symbols by default and
openat64 is therefore not available. fcntl2.h
is only used when _FORTITY_SOURCE > 2.
BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4241
TEST= local verification + trybots
R=mcgrathr@chromium.org
Review URL: https://codereview.chromium.org/1337243004 .
diff --git a/io/bits/fcntl2.h b/io/bits/fcntl2.h
index 0e0b606..d2488b7 100644
--- a/io/bits/fcntl2.h
+++ b/io/bits/fcntl2.h
@@ -95,7 +95,7 @@
#ifdef __USE_ATFILE
-# ifndef __USE_FILE_OFFSET64
+# if !defined(__USE_FILE_OFFSET64) || defined(__native_client__)
extern int __openat_2 (int __fd, __const char *__path, int __oflag)
__nonnull ((2));
extern int __REDIRECT (__openat_alias, (int __fd, __const char *__path,