[ 
https://issues.apache.org/jira/browse/AXIS2C-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Lazarski resolved AXIS2C-1672.
-------------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

The unistd.h include was incorrectly excluded on Apple platforms with
    #ifndef __APPLE__, but the F_OK, R_OK, W_OK, X_OK constants from that
    header were still being used, causing compilation failures on macOS.
    
    Fix:
    - Remove the incorrect #ifndef __APPLE__ exclusion
    - Add fallback #ifndef definitions for all access() mode constants
    - Use standard POSIX values (F_OK=0, X_OK=1, W_OK=2, R_OK=4)
    
    The fallback approach is defensive - if unistd.h provides the constants,
    they're used; otherwise the standard POSIX values are defined.
    


> Build error on MacOSX
> ---------------------
>
>                 Key: AXIS2C-1672
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1672
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system
>         Environment: Mac OSX
>            Reporter: Arne Diegenbach
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> Same issue as found here:
> https://issues.apache.org/jira/browse/AXIS2C-1239
> error: SIOCGARP undeclared (first use in this function)
> I solved this by defining HAVE_GETIFADDRS in the top of the file:
> axis2c/util/src/platforms/unix/uuid_gen_unix.c



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to