summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-08-08 00:25:59 +0000
committerUlrich Drepper <drepper@redhat.com>1997-08-08 00:25:59 +0000
commit87c7eecff7ee0a0219351e4f05c8e6b0285d3516 (patch)
tree52512824105bb2666a374e60b7b7663ad941cade /libio
parenteb908948fe2073b3e4908125a6f5cec39ba4b692 (diff)
(_libio_using_thunks): Define if _G_USING_THUNKS is defined.
Diffstat (limited to 'libio')
-rw-r--r--libio/stdfiles.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libio/stdfiles.c b/libio/stdfiles.c
index 7c6f789912..6a3cb4542c 100644
--- a/libio/stdfiles.c
+++ b/libio/stdfiles.c
@@ -48,3 +48,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