o replaced GDL2 #if by HAVE_GDL2 #if

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18137 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2003-11-24 08:56:31 +00:00
parent d84c366e4b
commit 6bf5dc061b
3 changed files with 5 additions and 5 deletions

View file

@ -36,7 +36,7 @@ RCS_ID("$Id$")
#include "GSWeb.h"
#ifdef GDL2
#ifdef HAVE_GDL2
#include <EOControl/EOKeyValueCoding.h>
//====================================================================
@ -76,7 +76,7 @@ objectForReference:(NSString*)keyPath
};
@end
#endif // GDL2
#endif // HAVE_GDL2
//====================================================================
@implementation GSWBundle
@ -387,7 +387,7 @@ objectForReference:(NSString*)keyPath
if (defaultAssociations && [anObject respondsToSelector:@selector(setDefaultAssociations:)])
[anObject setDefaultAssociations:defaultAssociations];
};
#if GDL2 // GDL2 implementation
#if HAVE_GDL2 // GDL2 implementation
{
EOKeyValueUnarchiver* unarchiver=nil;
GSWBundleUnarchiverDelegate* bundleDelegate=nil;

View file

@ -173,7 +173,7 @@ const char* GSGetInstanceVariableType(id obj,
return selector;
};
#if GDL2
#if HAVE_GDL2
//--------------------------------------------------------------------

View file

@ -212,7 +212,7 @@ RCS_ID("$Id$")
{
if ([object isKindOfClass:[NSString class]])
string=[[object copy] autorelease];
#ifdef GDL2
#ifdef HAVE_GDL2
else if ([object isKindOfClass:[EONull class]])
string=@"";
#else