зеркало из https://github.com/mozilla/pjs.git
OS/2 build bustage - default to unistd.h for non windows platforms
This commit is contained in:
Родитель
03dc87a541
Коммит
3986a3b711
|
@ -38,16 +38,16 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#if defined(XP_UNIX)
|
#if defined(XP_WIN)
|
||||||
# include <unistd.h>
|
|
||||||
#elif defined(XP_WIN)
|
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
|
#else
|
||||||
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XP_WIN
|
#ifdef XP_WIN
|
||||||
#include <winsock2.h>
|
# include <winsock2.h>
|
||||||
#else
|
#else
|
||||||
#include <arpa/inet.h>
|
# include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SSIZE_MAX
|
#ifndef SSIZE_MAX
|
||||||
|
|
Загрузка…
Ссылка в новой задаче