From d9dd3688b99f99898428f073fd810cc6403e709b Mon Sep 17 00:00:00 2001
From: damitha
Date: Fri, 10 Jun 2011 00:01:57 +0000
Subject: Fixed the build issue by removing && and moving into ifdef and ifndef
 statements

git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1134136 13f79535-47bb-0310-9956-ffa450edef68
---
 util/include/platforms/unix/axutil_unix.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'util/include')

diff --git a/util/include/platforms/unix/axutil_unix.h b/util/include/platforms/unix/axutil_unix.h
index 1829e06..a0b00dc 100644
--- a/util/include/platforms/unix/axutil_unix.h
+++ b/util/include/platforms/unix/axutil_unix.h
@@ -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>
-- 
cgit v1.1-32-gdbae