axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r1134136 - /axis/axis2/c/core/trunk/util/include/platforms/unix/axutil_unix.h
Date Fri, 10 Jun 2011 00:01:57 GMT
Author: damitha
Date: Fri Jun 10 00:01:57 2011
New Revision: 1134136

URL: http://svn.apache.org/viewvc?rev=1134136&view=rev
Log:
Fixed the build issue by removing && and moving into ifdef and ifndef statements

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=1134136&r1=1134135&r2=1134136&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 Fri Jun 10 00:01:57
2011
@@ -121,9 +121,11 @@ extern "C"
 #include "axutil_date_time_util_unix.h"
 
     /* for file access handling */
-#ifdef HAVE_UNISTD_H && !defined __APPLE__
+#ifdef HAVE_UNISTD_H 
+#ifndef __APPLE__
 #include <unistd.h>
-#endif /*HAVE_UNISTD_H && !defined __APPLE__*/
+#endif /* ifndef __APPLE__ */
+#endif /* HAVE_UNISTD_H */
 
     /* network handling */
 #include <sys/socket.h>



Mime
View raw message