Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Unified Diff: io/bits/fcntl2.h

Issue 1337243004: Don't use openat64 in fcntl2.h under NaCl (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-glibc.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: io/bits/fcntl2.h
diff --git a/io/bits/fcntl2.h b/io/bits/fcntl2.h
index 0e0b606bf753cc8be0a4b78de33f9498e9695be4..d2488b7031203104b0cf5cc233a26e21cd2e2e4f 100644
--- a/io/bits/fcntl2.h
+++ b/io/bits/fcntl2.h
@@ -95,7 +95,7 @@ open64 (__const char *__path, int __oflag, ...)
#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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698