Minix Support
This commit is contained in:
Vendored
+7
@@ -35,12 +35,19 @@
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#if defined(__minix)
|
||||
#define _MTHREADIFY_PTHREADS 1
|
||||
#include <minix/mthread.h>
|
||||
#endif /* defined(__minix) */
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <sys/uio.h>
|
||||
#else
|
||||
#include "xcb_windefs.h"
|
||||
#endif
|
||||
#if !defined(__minix)
|
||||
#include <pthread.h>
|
||||
#endif /* !defined(__minix) */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
+3
@@ -29,6 +29,9 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#if defined(__minix)
|
||||
#include <time.h>
|
||||
#endif /* defined(__minix) */
|
||||
#include <assert.h>
|
||||
#include <X11/Xauth.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
Vendored
+4
@@ -28,8 +28,10 @@
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
#if !defined(__minix)
|
||||
/* Define if your platform supports sendmsg */
|
||||
#define HAVE_SENDMSG 1
|
||||
#endif /* !defined(__minix) */
|
||||
|
||||
/* Have the sockaddr_un.sun_len member. */
|
||||
#define HAVE_SOCKADDR_SUN_LEN 1
|
||||
@@ -98,8 +100,10 @@
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
#if !defined(__minix)
|
||||
/* poll() function is available */
|
||||
#define USE_POLL 1
|
||||
#endif /* !defined(__minix) */
|
||||
|
||||
/* Enable extensions on AIX 3, Interix. */
|
||||
#ifndef _ALL_SOURCE
|
||||
|
||||
Reference in New Issue
Block a user