summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-07-19 05:12:16 +0000
committerroot <root>2011-07-19 05:12:16 +0000
commit705921b297103db6212c2c8512c917abf62f8093 (patch)
tree7928f361940428961eea85c96140b40f8185836b
parent1635934078c5897c4b37035141440cec405d066a (diff)
*** empty log message ***
-rw-r--r--eio.h6
-rw-r--r--xthread.h1
2 files changed, 5 insertions, 2 deletions
diff --git a/eio.h b/eio.h
index 145b374..97d088a 100644
--- a/eio.h
+++ b/eio.h
@@ -69,7 +69,11 @@ typedef int (*eio_cb)(eio_req *req);
#ifdef _WIN32
typedef int eio_uid_t;
typedef int eio_gid_t;
- typedef intptr_t eio_ssize_t; /* or SSIZE_T */
+ #ifdef _MINGW32_ /* no intptr_t */
+ typedef ssize_t eio_ssize_t;
+ #else
+ typedef intptr_t eio_ssize_t; /* or SSIZE_T */
+ #endif
#if __GNUC__
typedef long long eio_ino_t;
#else
diff --git a/xthread.h b/xthread.h
index 2850806..14cfd22 100644
--- a/xthread.h
+++ b/xthread.h
@@ -32,7 +32,6 @@
#define pthread_sigmask(a,b,c)
#define sigaddset(a,b)
#define sigemptyset(s)
-#define sigfillset(s)
typedef pthread_mutex_t xmutex_t;
#define X_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER