Skip to content

Commit 1f8561b

Browse files
1 parent 2bf3cca commit 1f8561b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,11 @@ typedef long pid_t;
187187
typedef int pid_t;
188188
#endif
189189

190-
#if SANITIZER_FREEBSD || SANITIZER_NETBSD || SANITIZER_APPLE || \
190+
#if SANITIZER_FREEBSD || SANITIZER_NETBSD || SANITIZER_APPLE || \
191191
(SANITIZER_SOLARIS && (defined(_LP64) || _FILE_OFFSET_BITS == 64)) || \
192192
(SANITIZER_LINUX && !SANITIZER_GLIBC && !SANITIZER_ANDROID) || \
193-
(SANITIZER_LINUX && (defined(__x86_64__) || defined(__hexagon__)))
193+
(SANITIZER_LINUX && (defined(__x86_64__) || defined(__hexagon__))) || \
194+
SANITIZER_WASI
194195
typedef u64 OFF_T;
195196
#else
196197
typedef uptr OFF_T;

0 commit comments

Comments
 (0)