mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Skip GSXML test if GS_USE_LIBXML is not defined. Saves the test from crashing with a linker error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32342 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bb7e267194
commit
8ee8fdfbd4
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#if defined(GNUSTEP_BASE_LIBRARY)
|
||||
#import <Foundation/Foundation.h>
|
||||
#if defined(GNUSTEP_BASE_LIBRARY) && (GS_USE_LIBXML == 1)
|
||||
#import <GNUstepBase/GSXML.h>
|
||||
#import "Testing.h"
|
||||
#import "ObjectTesting.h"
|
||||
|
@ -151,6 +151,7 @@ int main()
|
|||
#else
|
||||
int main(int argc,char **argv)
|
||||
{
|
||||
unsupported("GSXML support unavailable");
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue