diff options
author | damitha | 2011-06-10 00:01:57 +0000 |
---|---|---|
committer | damitha | 2011-06-10 00:01:57 +0000 |
commit | d9dd3688b99f99898428f073fd810cc6403e709b (patch) | |
tree | 412132c2ed2b03953f7729f8fbd8c32b3de6cf95 /util | |
parent | a0d059fd9e105e7ea9cdd40cd0e38a625f30e77f (diff) | |
download | axis2c-d9dd3688b99f99898428f073fd810cc6403e709b.tar.gz axis2c-d9dd3688b99f99898428f073fd810cc6403e709b.tar.bz2 |
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
Diffstat (limited to 'util')
-rw-r--r-- | util/include/platforms/unix/axutil_unix.h | 6 |
1 files changed, 4 insertions, 2 deletions
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> |