about summary refs log tree commit diff
path: root/libio/stdfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/stdfiles.c')
-rw-r--r--libio/stdfiles.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libio/stdfiles.c b/libio/stdfiles.c
index 8453e33c34..da921321a6 100644
--- a/libio/stdfiles.c
+++ b/libio/stdfiles.c
@@ -49,3 +49,10 @@ DEF_STDFILE(_IO_stderr_, 2, &_IO_stdout_.file,
             _IO_NO_READS+_IO_UNBUFFERED);
 
 _IO_FILE *_IO_list_all = &_IO_stderr_.file;
+
+#ifdef _G_USING_THUNKS
+#if defined(__GNUC__) && __GNUC__ >= 2
+const
+#endif
+int _libio_using_thunks = 1;
+#endif