You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2010/08/08 14:19:02 UTC

svn commit: r983397 - /apr/apr/trunk/include/arch/win32/apr_private.h

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