mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4853 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e7e9407307
commit
078e46d305
346 changed files with 2126 additions and 1058 deletions
13
config/config.loadtest.m
Normal file
13
config/config.loadtest.m
Normal file
|
@ -0,0 +1,13 @@
|
|||
@interface Test
|
||||
static int test_result;
|
||||
+(void) load;
|
||||
+(int) test_result;
|
||||
@end
|
||||
|
||||
@implementation Test
|
||||
static int test_result = 1;
|
||||
+(void) load {test_result = 0;}
|
||||
+(int) test_result {return test_result;}
|
||||
@end
|
||||
|
||||
int main (void) {return [Test test_result];}
|
8
config/config.objc_condition_timed_wait.c
Normal file
8
config/config.objc_condition_timed_wait.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
#include <objc/objc.h>
|
||||
main()
|
||||
{
|
||||
objc_condition_timedwait(NULL,NULL,NULL);
|
||||
exit(0);
|
||||
}
|
||||
|
10
config/config_thread.m
Normal file
10
config/config_thread.m
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* Test whether Objective-C runtime was compiled with thread support */
|
||||
|
||||
/* From thr.c */
|
||||
extern int __objc_init_thread_system(void);
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
return (__objc_init_thread_system());
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue