mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
mingw tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21952 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9d64352859
commit
fee3e814a4
2 changed files with 18 additions and 1 deletions
|
@ -1108,7 +1108,11 @@ static BOOL debugTemporarilyDisabled = NO;
|
|||
extern int _NSLogDescriptor;
|
||||
int desc;
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
desc = _wopen([path fileSystemRepresentation], O_RDWR|O_CREAT|O_APPEND, 0644);
|
||||
#else
|
||||
desc = open([path fileSystemRepresentation], O_RDWR|O_CREAT|O_APPEND, 0644);
|
||||
#endif
|
||||
if (desc >= 0)
|
||||
{
|
||||
if (_NSLogDescriptor >= 0 && _NSLogDescriptor != 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue