mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-19 01:50:49 +00:00
More apple fixups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@21604 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4da9b3ba28
commit
5c44a76439
3 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-08-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* GNUmakefile: Add SQLClient_LIBRARIES_DEPEND_UPON for apple as
|
||||
suggested by Yen-Ju Chen.
|
||||
* SQLClient.m: Don't call allocation debug functions on apple,
|
||||
and avoid bogus apple compiler warning.
|
||||
|
||||
2005-08-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* GNUmakefile: Don't build WebServer stuff on MacOS-X when using the
|
||||
|
|
|
@ -31,6 +31,7 @@ endif
|
|||
|
||||
ifeq ($(APPLE),1)
|
||||
ADDITIONAL_OBJC_LIBS += -lgnustep-baseadd
|
||||
SQLClient_LIBRARIES_DEPEND_UPON = -lgnustep-baseadd
|
||||
else
|
||||
SQLClient_OBJC_FILES += WebServer.m WebServerBundles.m
|
||||
SQLClient_HEADER_FILES += WebServer.h
|
||||
|
|
|
@ -134,6 +134,11 @@ inline NSTimeInterval SQLClientTimeNow()
|
|||
DESTROY(ptr[count + pos]);
|
||||
}
|
||||
NSDeallocateObject(self);
|
||||
#ifndef GNUSTEP
|
||||
// Avoid bogus compiler warning about missing call to super implementation.
|
||||
self = nil;
|
||||
[super dealloc];
|
||||
#endif
|
||||
}
|
||||
|
||||
- (NSMutableDictionary*) dictionary
|
||||
|
@ -1316,9 +1321,13 @@ static void quoteString(NSMutableString *s)
|
|||
if (c != [self class])
|
||||
{
|
||||
[self disconnect];
|
||||
#ifdef GNUSTEP
|
||||
GSDebugAllocationRemove(self->isa, self);
|
||||
#endif
|
||||
self->isa = c;
|
||||
#ifdef GNUSTEP
|
||||
GSDebugAllocationAdd(self->isa, self);
|
||||
#endif
|
||||
}
|
||||
|
||||
s = [d objectForKey: @"Database"];
|
||||
|
|
Loading…
Reference in a new issue