mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
use errno.h for thread safety
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33028 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5b47a4bd32
commit
9c9c98aad3
4 changed files with 5 additions and 10 deletions
|
@ -48,8 +48,7 @@
|
|||
#include "../GSPortPrivate.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
extern __declspec(dllimport) int errno;
|
||||
#include <errno.h>
|
||||
|
||||
#define UNISTR(X) \
|
||||
((const unichar*)[(X) cStringUsingEncoding: NSUnicodeStringEncoding])
|
||||
|
|
|
@ -42,13 +42,14 @@
|
|||
|
||||
#include "GNUstepBase/GSMime.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "../GSPrivate.h"
|
||||
#include "../GSPortPrivate.h"
|
||||
|
||||
#define UNISTR(X) \
|
||||
((const unichar*)[(X) cStringUsingEncoding: NSUnicodeStringEncoding])
|
||||
|
||||
extern __declspec(dllimport) int errno;
|
||||
|
||||
static NSRecursiveLock *serverLock = nil;
|
||||
static NSMessagePortNameServer *defaultServer = nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue