axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1059222 - /axis/axis2/c/core/trunk/util/include/platforms/unix/axutil_unix.h
Date Sat, 15 Jan 2011 01:56:18 GMT
Author: nandika
Date: Sat Jan 15 01:56:17 2011
New Revision: 1059222

URL: http://svn.apache.org/viewvc?rev=1059222&view=rev
Log:
applied patch with jira issue 1510. Added !defined __APPLE__ to avoid build error on macos
when checking for unistd.h

Modified:
    axis/axis2/c/core/trunk/util/include/platforms/unix/axutil_unix.h

Modified: axis/axis2/c/core/trunk/util/include/platforms/unix/axutil_unix.h
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/util/include/platforms/unix/axutil_unix.h?rev=1059222&r1=1059221&r2=1059222&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/util/include/platforms/unix/axutil_unix.h (original)
+++ axis/axis2/c/core/trunk/util/include/platforms/unix/axutil_unix.h Sat Jan 15 01:56:17
2011
@@ -104,7 +104,6 @@ extern "C"
 #include <sys/time.h>
 #include <sys/timeb.h>
 
-    /*#include <unistd.h> */
 #include <errno.h>
 #include <sys/param.h>
 #include <stdio.h>
@@ -122,9 +121,9 @@ extern "C"
 #include "axutil_date_time_util_unix.h"
 
     /* for file access handling */
-#ifdef HAVE_UNISTD_H
+#ifdef HAVE_UNISTD_H && !defined __APPLE__
 #include <unistd.h>
-#endif /*HAVE_UNISTD_H */
+#endif /*HAVE_UNISTD_H && !defined __APPLE__*/
 
     /* network handling */
 #include <sys/socket.h>



Mime
View raw message