apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r982101 - in /apr/apr/trunk/include: apr.hw arch/win32/apr_private.h
Date Wed, 04 Aug 2010 02:28:06 GMT
Author: fuankg
Date: Wed Aug  4 02:28:06 2010
New Revision: 982101

URL: http://svn.apache.org/viewvc?rev=982101&view=rev
Log:
Enable to build Win32 target with OpenWatcom.

Modified:
    apr/apr/trunk/include/apr.hw
    apr/apr/trunk/include/arch/win32/apr_private.h

Modified: apr/apr/trunk/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.hw?rev=982101&r1=982100&r2=982101&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.hw (original)
+++ apr/apr/trunk/include/apr.hw Wed Aug  4 02:28:06 2010
@@ -132,7 +132,11 @@
 #define APR_HAVE_NETINET_TCP_H  0
 #define APR_HAVE_PTHREAD_H      0
 #define APR_HAVE_SEMAPHORE_H    0
+#ifdef __WATCOMC__
+#define APR_HAVE_SIGNAL_H       0
+#else
 #define APR_HAVE_SIGNAL_H        APR_NOT_IN_WCE
+#endif
 #define APR_HAVE_STDARG_H        APR_NOT_IN_WCE
 #define APR_HAVE_STDDEF_H        APR_NOT_IN_WCE
 #define APR_HAVE_STDINT_H       0
@@ -668,12 +672,14 @@ typedef int apr_wait_t;
  * based on some APR_HAVE_PID/GID/UID?
  */
 #ifdef WIN32
+#ifndef __WATCOMC__
 #ifndef __GNUC__
 typedef  int         pid_t;
 #endif
 typedef  int         uid_t;
 typedef  int         gid_t;
 #endif
+#endif
 
 /* Typically defined in stdio.h or unistd.h
  */

Modified: apr/apr/trunk/include/arch/win32/apr_private.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/arch/win32/apr_private.h?rev=982101&r1=982100&r2=982101&view=diff
==============================================================================
--- apr/apr/trunk/include/arch/win32/apr_private.h (original)
+++ apr/apr/trunk/include/arch/win32/apr_private.h Wed Aug  4 02:28:06 2010
@@ -60,7 +60,11 @@
 #define HAVE_LIMITS_H 1
 #define HAVE_MALLOC_H 1
 #define HAVE_PROCESS_H APR_NOT_IN_WCE
+#ifdef __WATCOMC__
+#define HAVE_SIGNAL_H 0
+#else
 #define HAVE_SIGNAL_H 1
+#endif
 #define HAVE_STDDEF_H APR_NOT_IN_WCE
 #define HAVE_STDLIB_H 1
 



Mime
View raw message