Skip to content

Commit c90b40d

Browse files
1 parent 2bf3cca commit c90b40d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ typedef int pid_t;
190190
#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)