Changeset 945


Ignore:
Timestamp:
May 27, 2007, 1:53:10 AM (18 years ago)
Author:
bird
Message:

It's APPLE not DARWIN_. Does gnu_linux sound good?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/gmakenew/kbuild.c

    r944 r945  
    9292     */
    9393    rc = -1;
    94 #if defined(__DARWIN__)
     94#if defined(__APPLE__)
    9595    {
    9696        const char *pszImageName = _dyld_get_image_name(0);
     
    113113        szTmp[rc] == '\0';
    114114
    115 #elif defined(__LINUX__) /** @todo find proper define... */
     115#elif defined(__gnu_linux__) /** @todo find proper define... */
    116116    rc = readlink("/proc/self/exe", szTmp, GET_PATH_MAX - 1);
    117117    if (rc < 0 || rc == GET_PATH_MAX - 1)
Note: See TracChangeset for help on using the changeset viewer.