mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
New file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10518 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
666138fbfb
commit
91e44a39e6
1 changed files with 22 additions and 0 deletions
22
config/config.objc.m
Normal file
22
config/config.objc.m
Normal file
|
@ -0,0 +1,22 @@
|
|||
/* Dummy NXConstantString impl for so libobjc that doesn't include it */
|
||||
#ifndef NeXT_RUNTIME
|
||||
#include <objc/NXConstStr.h>
|
||||
@implementation NXConstantString
|
||||
@end
|
||||
#endif
|
||||
|
||||
@interface Test
|
||||
+(int) testResult;
|
||||
@end
|
||||
|
||||
@implementation Test
|
||||
+(int) testResult
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
@end
|
||||
|
||||
int main (void)
|
||||
{
|
||||
return ([Test testResult] + 1);
|
||||
}
|
Loading…
Reference in a new issue