From 9b2260ab4dbb671c2656383266d6f9fa7b863a69 Mon Sep 17 00:00:00 2001 From: nandika Date: Sat, 15 Jan 2011 01:56:17 +0000 Subject: applied patch with jira issue 1510. Added !defined __APPLE__ to avoid build error on macos when checking for unistd.h git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1059222 13f79535-47bb-0310-9956-ffa450edef68 --- util/include/platforms/unix/axutil_unix.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'util') diff --git a/util/include/platforms/unix/axutil_unix.h b/util/include/platforms/unix/axutil_unix.h index 7a5c084..1829e06 100644 --- a/util/include/platforms/unix/axutil_unix.h +++ b/util/include/platforms/unix/axutil_unix.h @@ -104,7 +104,6 @@ extern "C" #include #include - /*#include */ #include #include #include @@ -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 -#endif /*HAVE_UNISTD_H */ +#endif /*HAVE_UNISTD_H && !defined __APPLE__*/ /* network handling */ #include -- cgit v1.1-32-gdbae