Don't bother trying to register a thread creation callback with libobjc2 - it's never used.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30561 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2010-06-03 17:35:45 +00:00
parent 6d780ae005
commit 2403f62b07

View file

@ -567,7 +567,11 @@ unregisterActiveThread(NSThread *thread)
* if we have become multi-threaded due to a call to the runtime directly
* rather than via the NSThread class.
*/
#if defined(__GNUSTEP_RUNTIME__) || defined(__NEXT_RUNTIME__)
gnustep_base_thread_callback();
#else
objc_set_thread_callback(gnustep_base_thread_callback);
#endif
}
}