Skip to content

Commit 70b0311

Browse files
authored
Append _FILE_OFFSET_BITS=64 to CMAKE_REQUIRED_DEFINITIONS (#59504)
After setting CMAKE_REQUIRED_DEFINITIONS in PAL introspection, we need to append this definition.
1 parent d4e85bf commit 70b0311

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/coreclr/pal/src/configure.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ else()
2828
set(CMAKE_RT_LIBS "")
2929
endif()
3030

31+
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_FILE_OFFSET_BITS=64)
32+
3133
check_include_files(ieeefp.h HAVE_IEEEFP_H)
3234
check_include_files(sys/vmparam.h HAVE_SYS_VMPARAM_H)
3335
check_include_files(mach/vm_types.h HAVE_MACH_VM_TYPES_H)

0 commit comments

Comments
 (0)