mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix missing underscore in _wfopen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21793 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e2567a7edc
commit
a097b09d2b
1 changed files with 4 additions and 4 deletions
|
@ -910,13 +910,13 @@ static NSMapTable *absolutes = 0;
|
|||
/* Read dictionary from file. */
|
||||
abbreviationMap = [[NSMutableDictionary alloc] init];
|
||||
path = _time_zone_path (ABBREV_MAP, nil);
|
||||
#if defined(__WIN32__)
|
||||
#if defined(__MINGW__)
|
||||
{
|
||||
unichar mode[3];
|
||||
mode[0] = 'r';
|
||||
mode[1] = 'b';
|
||||
mode[2] = '\0';
|
||||
file = wfopen([path fileSystemRepresentation], mode);
|
||||
file = _wfopen((const unichar*)[path fileSystemRepresentation], mode);
|
||||
}
|
||||
#else
|
||||
file = fopen([path fileSystemRepresentation], "r");
|
||||
|
@ -1336,13 +1336,13 @@ static NSMapTable *absolutes = 0;
|
|||
temp_array[i] = [NSMutableArray array];
|
||||
|
||||
fileName = _time_zone_path (REGIONS_FILE, nil);
|
||||
#if defined(__WIN32__)
|
||||
#if defined(__MINGW__)
|
||||
{
|
||||
unichar mode[3];
|
||||
mode[0] = 'r';
|
||||
mode[1] = 'b';
|
||||
mode[2] = '\0';
|
||||
file = wfopen([fileName fileSystemRepresentation], mode);
|
||||
file = _wfopen((const unichar*)[fileName fileSystemRepresentation], mode);
|
||||
}
|
||||
#else
|
||||
file = fopen([fileName fileSystemRepresentation], "r");
|
||||
|
|
Loading…
Reference in a new issue