Skip to content

Commit 43f4926

Browse files
Update compiler-rt/lib/profile/InstrProfilingUtil.c
Co-authored-by: Hubert Tong <[email protected]>
1 parent 549b019 commit 43f4926

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler-rt/lib/profile/InstrProfilingUtil.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,9 @@ static int isMmapSafe(int Fd) {
319319
(void)&is_local_filesystem; // a fake reference to satisfy -Wunused-function
320320
#ifdef _AIX
321321
return is_local_filesystem(Fd);
322-
#endif
322+
#else
323323
return 1;
324+
#endif
324325
}
325326

326327
COMPILER_RT_VISIBILITY void lprofGetFileContentBuffer(FILE *F, uint64_t Length,

0 commit comments

Comments
 (0)