IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27219


Ignore:
Timestamp:
Mar 5, 2010, 8:18:09 PM (16 years ago)
Author:
bills
Message:

fix build Mac build problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFits.c

    r25478 r27219  
    149149            int thisErrno = errno;      // Error number
    150150            char errorBuf[MAX_STRING_LENGTH], *errorMsg;
    151 #if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)
     151#if (((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) ||  __APPLE__)
    152152            strerror_r(thisErrno, errorBuf, MAX_STRING_LENGTH);
    153153            errorMsg = errorBuf;
     
    208208                int thisErrno = errno;
    209209                char errorBuf[64], *errorMsg;
    210 # if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)
     210#if (((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) ||  __APPLE__)
    211211                strerror_r (errno, errorBuf, 64);
    212212                errorMsg = errorBuf;
Note: See TracChangeset for help on using the changeset viewer.