Skip to content

Commit 0dde2eb

Browse files
committed
Don't overwrite memset definition on macOS
1 parent a1ddc4c commit 0dde2eb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cpp2rust/compat/platform_flags.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ static inline std::vector<std::string> getPlatformClangFlags() {
1010
std::vector<std::string> flags = {
1111
"-resource-dir=" CLANG_RESOURCE_DIR,
1212
"-I" COMPAT_INCLUDE_DIR,
13+
"-D_FORTIFY_SOURCE=0",
1314
};
1415
#ifdef MACOS_SDK_PATH
1516
flags.push_back("-isysroot" MACOS_SDK_PATH);

0 commit comments

Comments
 (0)