mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
more mingw32 updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21951 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8f93eac56a
commit
9d64352859
10 changed files with 955 additions and 297 deletions
|
@ -221,8 +221,13 @@ static void debugRead(GSHTTPURLHandle *handle, NSData *data)
|
|||
int d;
|
||||
|
||||
[debugLock lock];
|
||||
#if defined(__MINGW__)
|
||||
d = _wopen((const unichar*)[debugFile fileSystemRepresentation],
|
||||
O_WRONLY|O_CREAT|O_APPEND, 0644);
|
||||
#else
|
||||
d = open([debugFile fileSystemRepresentation],
|
||||
O_WRONLY|O_CREAT|O_APPEND, 0644);
|
||||
O_WRONLY|O_CREAT|O_APPEND, 0644);
|
||||
#endif
|
||||
if (d >= 0)
|
||||
{
|
||||
s = [NSString stringWithFormat: @"\nRead for %x at %@ %u bytes - '",
|
||||
|
@ -240,8 +245,13 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
|||
int d;
|
||||
|
||||
[debugLock lock];
|
||||
#if defined(__MINGW__)
|
||||
d = _wopen((const unichar*)[debugFile fileSystemRepresentation],
|
||||
O_WRONLY|O_CREAT|O_APPEND, 0644);
|
||||
#else
|
||||
d = open([debugFile fileSystemRepresentation],
|
||||
O_WRONLY|O_CREAT|O_APPEND, 0644);
|
||||
O_WRONLY|O_CREAT|O_APPEND, 0644);
|
||||
#endif
|
||||
if (d >= 0)
|
||||
{
|
||||
s = [NSString stringWithFormat: @"\nWrite for %x at %@ %u bytes - '",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue