Skip to content

Commit 54be9f7

Browse files
binjijmcclellan-figma
authored andcommitted
figma: Remove references to <crypt.h>
We need to remove references to `<crypt.h>`, which we don't have in our linux sysroot. It looks like this was added because later versions of glibc moved these functions into their own library. Unfortunately we run an older version in our linux sysroot, so we don't have these headers. This was cleaned up in a later commit to LLVM, but we just have to hack around it for now.
1 parent e24bec1 commit 54be9f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,4 +623,7 @@
623623
#include <sanitizer_intercept_overriders.h>
624624
#endif
625625

626+
// FIGMA
627+
#define SANITIZER_INTERCEPT_CRYPT_R 0
628+
626629
#endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H

0 commit comments

Comments
 (0)