You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by da...@apache.org on 2011/06/10 02:01:57 UTC
svn commit: r1134136 -
/axis/axis2/c/core/trunk/util/include/platforms/unix/axutil_unix.h
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>