apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r983397 - /apr/apr/trunk/include/arch/win32/apr_private.h
Date Sun, 08 Aug 2010 12:19:02 GMT
Author: fuankg
Date: Sun Aug  8 12:19:02 2010
New Revision: 983397

URL: http://svn.apache.org/viewvc?rev=983397&view=rev
Log:
Added workaround for Watcom.

Modified:
    apr/apr/trunk/include/arch/win32/apr_private.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=983397&r1=983396&r2=983397&view=diff
==============================================================================
--- apr/apr/trunk/include/arch/win32/apr_private.h (original)
+++ apr/apr/trunk/include/arch/win32/apr_private.h Sun Aug  8 12:19:02 2010
@@ -114,6 +114,10 @@
 typedef void (Sigfunc)(int);
 
 #define sleep(t)                 Sleep((t) * 1000)
+/* For now workaround for Watcom'S lack of _commit() */
+#ifdef __WATCOMC__
+#define _commit                  fsync
+#endif
 
 #define SIZEOF_SHORT           2
 #define SIZEOF_INT             4



Mime
View raw message