Various compile fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze_1_8_0@17710 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-09-24 01:45:16 +00:00
parent 59c5d7c549
commit 29254aecfc
6 changed files with 17 additions and 15 deletions

View file

@ -1,3 +1,16 @@
2003-09-23 Adam Fedor <fedor@gnu.org>
* Source/Additions/Makefile.preamble: Add DLL build flag for cyginw
* Testing/Makefile.postamble (check): Make CHECKABLE_TOOLS only
* Tools/AGSHtml.m: Remove duplicate interface (on *-apple-*)
* Tools/AGSIndex.m: Idem.
2003-09-23 Adam Fedor <fedor@gnu.org>
* Source/NSTimeZone.m (+systemTimeZone): Remove tzname extern decl.
2003-09-22 Adam Fedor <fedor@gnu.org>
* configure.ac: Check for getopt

View file

@ -47,6 +47,9 @@ ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall
ifeq ($(GNUSTEP_TARGET_OS),mingw32)
ADDITIONAL_OBJCFLAGS += -DBUILD_libgnustep_base_DLL=1
endif
ifeq ($(GNUSTEP_TARGET_OS),cygwin)
ADDITIONAL_OBJCFLAGS += -DBUILD_libgnustep_base_DLL=1
endif
# Additional flags to pass to the C compiler
ADDITIONAL_CFLAGS =

View file

@ -1130,7 +1130,6 @@ static NSMapTable *absolutes = 0;
/*
* Try to get timezone from tzset and tzname
*/
extern char *tzname[2];
tzset();
if (tzname[0] != NULL && *tzname[0] != '\0')
localZoneString = [NSString stringWithCString: tzname[0]];

View file

@ -66,7 +66,7 @@
after-distclean::
rm -f cstream.dat fref.dat nsarchiver.dat
check:: all
check:: $(CHECKABLE_TOOLS)
for f in $(CHECKABLE_TOOLS); do \
obj/$$f ; \
done

View file

@ -24,12 +24,6 @@
#include "AGSHtml.h"
#include "GNUstepBase/GNUstep.h"
#include "GNUstepBase/GSCategories.h"
#ifdef NeXT_Foundation_LIBRARY
@interface NSString(GSCompatibility)
- (BOOL) boolValue;
- (NSString*) substringFromRange:(NSRange)range;
@end
#endif
static int XML_ELEMENT_NODE;
static int XML_ENTITY_REF_NODE;

View file

@ -24,13 +24,6 @@
#include "AGSIndex.h"
#include "GNUstepBase/GNUstep.h"
#include "GNUstepBase/GSCategories.h"
#ifdef NeXT_Foundation_LIBRARY
@interface NSString(GSCompatibility)
- (BOOL) boolValue;
- (NSString*) substringFromRange:(NSRange)range;
@end
#endif
static int XML_ELEMENT_NODE;
static int XML_TEXT_NODE;