about summary refs log tree commit diff
path: root/libio/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/cleanup.c')
-rw-r--r--libio/cleanup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/cleanup.c b/libio/cleanup.c
index b4c8be927f..a0c5052d39 100644
--- a/libio/cleanup.c
+++ b/libio/cleanup.c
@@ -12,4 +12,6 @@ DEFUN_VOID(_IO_register_cleanup)
 }
 
 void (*_IO_cleanup_registration_needed)() = _IO_register_cleanup;
+#else
+void (*_IO_cleanup_registration_needed)() = NULL;
 #endif /* _G_HAVE_ATEXIT */