mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-30 00:41:14 +00:00
Fixed typo in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
be804b53cf
commit
e86b337250
3 changed files with 2437 additions and 3164 deletions
|
@ -1,13 +1,13 @@
|
|||
/* Test whether Objective-C runtime was compiled with thread support */
|
||||
|
||||
#ifdef gnu-runtime
|
||||
#ifdef GNU_RUNTIME
|
||||
/* Dummy NXConstantString impl for so libobjc that doesn't include it */
|
||||
#include <objc/NXConstStr.h>
|
||||
@implementation NXConstantString
|
||||
@end
|
||||
#endif
|
||||
|
||||
#ifdef gnu-runtime
|
||||
#ifdef GNU_RUNTIME
|
||||
#include <objc/thr.h>
|
||||
#endif
|
||||
|
||||
|
@ -18,7 +18,7 @@ main()
|
|||
{
|
||||
id o = [Object new];
|
||||
|
||||
#ifdef gnu-runtime
|
||||
#ifdef GNU_RUNTIME
|
||||
return (objc_thread_detach (@selector(hash), o, nil) == NULL) ? -1 : 0;
|
||||
#else
|
||||
/* On Apple, there is no ObjC-specific thread library. We need to
|
||||
|
|
|
@ -1084,7 +1084,7 @@ saved_CFLAGS="$CFLAGS"
|
|||
saved_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS -x objective-c -I$srcdir $OBJC_CPPFLAGS $OBJC_LDFLAGS"
|
||||
if test "$OBJC_RUNTIME_LIB" = "gnu"; then
|
||||
CFLAGS="$CFLAGS -fgnu-runtime"
|
||||
CFLAGS="$CFLAGS -fgnu-runtime -DGNU_RUNTIME"
|
||||
fi
|
||||
if test "$OBJC_RUNTIME_LIB" = "nx"; then
|
||||
CFLAGS="$CFLAGS -DNeXT_RUNTIME"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue