We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2e1c0 commit b994299Copy full SHA for b994299
libc/hdr/stdlib_overlay.h
@@ -19,6 +19,11 @@
19
// functions, causing external alias errors. They are guarded by
20
// `__USE_FORTIFY_LEVEL`, which will be temporarily disabled.
21
22
+#ifdef _FORTIFY_SOURCE
23
+#define LIBC_OLD_FORTIFY_SOURCE _FORTIFY_SOURCE
24
+#undef _FORTIFY_SOURCE
25
+#endif
26
+
27
#ifdef __USE_FORTIFY_LEVEL
28
#define LIBC_OLD_USE_FORTIFY_LEVEL __USE_FORTIFY_LEVEL
29
#undef __USE_FORTIFY_LEVEL
@@ -27,6 +32,11 @@
32
33
#include <stdlib.h>
34
35
+#ifdef LIBC_OLD_FORTIFY_SOURCE
36
+#define _FORTIFY_SOURCE LIBC_OLD_FORTIFY_SOURCE
37
+#undef LIBC_OLD_FORTIFY_SOURCE
38
39
30
40
#ifdef LIBC_OLD_USE_FORTIFY_LEVEL
31
41
42
#define __USE_FORTIFY_LEVEL LIBC_OLD_USE_FORTIFY_LEVEL
0 commit comments