ignore framework version on windows ... not supported

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22448 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-02-08 07:57:07 +00:00
parent 45bf6a1f8f
commit d684f59787
2 changed files with 4 additions and 0 deletions

View file

@ -1315,10 +1315,12 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
{
NSString *rootPath;
#if !defined(__MINGW32__)
if (_frameworkVersion)
rootPath = [NSString stringWithFormat:@"%@/Versions/%@", [self bundlePath],
_frameworkVersion];
else
#endif
rootPath = [self bundlePath];
return [NSBundle pathForResource: name