[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-dev
Subject:    [jira] [Created] (AXIS2C-1567) F_OK not defined with MacOSX builds
From:       "Stefan Radomski (Created) (JIRA)" <jira () apache ! org>
Date:       2011-11-15 12:47:51
Message-ID: 1663659847.30731.1321361271590.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]

F_OK not defined with MacOSX builds
-----------------------------------

                 Key: AXIS2C-1567
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1567
             Project: Axis2-C
          Issue Type: Bug
          Components: core/engine
    Affects Versions: Current (Nightly)
         Environment: MacOSX Lion
            Reporter: Stefan Radomski


When building the current SVN trunk on a Mac, there are undefined F_OK and R_OK \
macros all over the place. These get defined in unistd.h and simply adding #include \
<unistd.h> to the affected files will compile them just fine on a Mac. Files missing \
the F_OK macro definitions are:

arch_reader.c
dep_engine.c
conf_init.c
http_server_main.c

I added the following lines to each of these files includes:

#ifdef __GNUC__
#include <unistd.h>
#endif

But I am sure that somewhere in the platform sensing code there is a place where this \
would make more sense.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: \
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more \
information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic