diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-08 08:17:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-08 08:17:04 +0000 |
commit | f15067a5ef83edc8ea6aab7edc8450caa44cd7ab (patch) | |
tree | 2edd69c951e3e81350422aed1b1f269853529866 /test/testsuite.h | |
parent | 8c5a553b649a5a04130e5f95ecafe658f5342a52 (diff) |
dont include atexit() if uClibc doesnt support it
Diffstat (limited to 'test/testsuite.h')
-rw-r--r-- | test/testsuite.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testsuite.h b/test/testsuite.h index 3465d328e..312b7cd47 100644 --- a/test/testsuite.h +++ b/test/testsuite.h @@ -70,7 +70,9 @@ void init_testsuite(const char* testname) printf("%s", testname); test_number = 0; failures = 0; +#if !defined(__UCLIBC__) || defined(__UCLIBC_DYNAMIC_ATEXIT__) atexit(done_testing); +#endif } #endif /* __NO_TESTCODE__ */ |