mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
changes for use of _WIN32 define on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39492 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8904edf3fe
commit
62d2bcbabc
46 changed files with 303 additions and 251 deletions
|
@ -200,7 +200,7 @@ NSLog(@"Developer: %@", NSSearchPathForDirectoriesInDomains(NSDeveloperDirectory
|
|||
isEqual: @"~/nil"],
|
||||
"'~/nil' stringByExpandingTildeInPath: != '~/nil'");
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#if defined(_WIN32)
|
||||
{
|
||||
NSString *s = [@"~" stringByAppendingString: NSUserName()];
|
||||
PASS(![[s stringByExpandingTildeInPath] isEqual: s],
|
||||
|
@ -308,7 +308,7 @@ NSLog(@"Developer: %@", NSSearchPathForDirectoriesInDomains(NSDeveloperDirectory
|
|||
[fm removeFileAtPath: tmpsrc handler: nil];
|
||||
[fm createSymbolicLinkAtPath: tmpsrc pathContent: tmpdst];
|
||||
|
||||
#if !defined(__MINGW32__)
|
||||
#if !defined(_WIN32)
|
||||
PASS_EQUAL([tmpsrc stringByStandardizingPath], tmpsrc,
|
||||
"foo->bar symlink not expanded by stringByStandardizingPath")
|
||||
PASS_EQUAL([tmpsrc stringByResolvingSymlinksInPath], tmpdst,
|
||||
|
@ -346,7 +346,7 @@ NSLog(@"Developer: %@", NSSearchPathForDirectoriesInDomains(NSDeveloperDirectory
|
|||
PASS([@"home" isAbsolutePath] == NO,
|
||||
"'home' isAbsolutePath == NO");
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#if defined(_WIN32)
|
||||
PASS([@"/home" isAbsolutePath] == NO,
|
||||
"'/home' isAbsolutePath == NO");
|
||||
PASS([@"//host/share" isAbsolutePath] == NO,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue