diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-14 16:54:01 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-14 16:54:01 +0000 |
commit | 60e300bfcc3bd7a25192988ab49023b6a6eee35b (patch) | |
tree | fca70d84446c4b38e9d738a8f5eaffbce03cfcb8 /libsanitizer/interception | |
parent | 5e15676b54be8594cf60f726dd8aa70388583e35 (diff) | |
download | gcc-60e300bfcc3bd7a25192988ab49023b6a6eee35b.tar.gz |
OFF_T: Merged from upstream r175140
PR bootstrap/56327
* interception/interception.h (OFF_T): Merged from upstream
r175140.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196054 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libsanitizer/interception')
-rw-r--r-- | libsanitizer/interception/interception.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsanitizer/interception/interception.h b/libsanitizer/interception/interception.h index b4c4137e88e..c4c5026c7ed 100644 --- a/libsanitizer/interception/interception.h +++ b/libsanitizer/interception/interception.h @@ -28,8 +28,8 @@ typedef __sanitizer::s64 INTMAX_T; // WARNING: OFF_T may be different from OS type off_t, depending on the value of // _FILE_OFFSET_BITS. This definition of OFF_T matches the ABI of system calls // like pread and mmap, as opposed to pread64 and mmap64. -// Mac is special. -#ifdef __APPLE__ +// Mac and Linux/x86-64 are special. +#if defined(__APPLE__) || (defined(__linux__) && defined(__x86_64__)) typedef __sanitizer::u64 OFF_T; #else typedef __sanitizer::uptr OFF_T; |