From 1aa6708cc2b7792a647ada960a66a1e0146fb209 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Mon, 11 Oct 2010 15:27:39 +0200 Subject: [PATCH] Fix the build. Oops. (We remove the declaration for on_exit() from the C library headers, so do the same for the C++ ) Change-Id: I31a21d5643068cd160724908dd8156863a44d95a --- libstdc++/include/cstdlib | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libstdc++/include/cstdlib b/libstdc++/include/cstdlib index e520543d1..bb6f5a5cd 100644 --- a/libstdc++/include/cstdlib +++ b/libstdc++/include/cstdlib @@ -42,7 +42,9 @@ namespace std { using ::exit; using ::abort; using ::atexit; +#if 0 /* MISSING FROM BIONIC */ using ::on_exit; +#endif using ::getenv; using ::putenv;