IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2010, 2:02:46 PM (16 years ago)
Author:
bills
Message:

fix or workaround compile problems on MacOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/gprint.c

    r27435 r27592  
    351351
    352352  // there are two strerror_r implementations; choose the right one:
    353 #if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)
     353#if (((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || __APPLE__)
    354354  strerror_r (myError, errorBuf, MAX_ERROR_LENGTH);
    355355  errorMsg = errorBuf;
Note: See TracChangeset for help on using the changeset viewer.