tools-make/config_thread.m
Adam Fedor 3c479f0fed New rpm.make, some config improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@8521 72102866-910b-0410-8b05-ffd578937521
2001-01-08 21:45:31 +00:00

15 lines
331 B
Objective-C

/* Test whether Objective-C runtime was compiled with thread support */
/* Dummy NXConstantString impl for so libobjc that doesn't include it */
#include <objc/NXConstStr.h>
@implementation NXConstantString
@end
/* From thr.c */
extern int __objc_init_thread_system(void);
int
main()
{
return (__objc_init_thread_system());
}