Support Open Watcom C on Linux (as well as Windows).

This commit is contained in:
Dan Fandrich
2008-07-02 18:34:00 +00:00
parent bfaab6ed6b
commit ee64d14733
3 changed files with 6 additions and 2 deletions

View File

@@ -6,6 +6,9 @@
Changelog Changelog
Daniel Fandrich (2 Jul 2008)
- Support Open Watcom C on Linux (as well as Windows).
Yang Tse (2 Jul 2008) Yang Tse (2 Jul 2008)
- The previously committed fix for bug report #1999181 prevented using the - The previously committed fix for bug report #1999181 prevented using the
monotonic clock on any system without an always supported POSIX compliant monotonic clock on any system without an always supported POSIX compliant

View File

@@ -71,7 +71,7 @@
#ifndef _WIN32_WCE #ifndef _WIN32_WCE
#include <sys/socket.h> #include <sys/socket.h>
#endif #endif
#ifndef __WATCOMC__ #if !defined(WIN32) || !defined(__WATCOMC__)
#include <sys/time.h> #include <sys/time.h>
#endif #endif
#include <sys/types.h> #include <sys/types.h>

View File

@@ -39,7 +39,8 @@
*/ */
#if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN__) && \ #if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN__) && \
!defined(__riscos__) && !defined(__INTERIX) && !defined(NETWARE) && \ !defined(__riscos__) && !defined(__INTERIX) && !defined(NETWARE) && \
!defined(__AMIGA__) && !defined(__minix) && !defined(__SYMBIAN32__) !defined(__AMIGA__) && !defined(__minix) && !defined(__SYMBIAN32__) && \
!defined(__WATCOMC__)
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> #include <sys/socket.h>