Minix Support

This commit is contained in:
2016-01-21 22:56:26 +01:00
committed by sambuc
parent 632fcf01c7
commit 0aba5426c4
66 changed files with 1319 additions and 43 deletions
+7
View File
@@ -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
View File
@@ -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>
+4
View File
@@ -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