Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7669


Ignore:
Timestamp:
Nov 24, 2010, 6:17:40 PM (14 years ago)
Author:
youngk
Message:

Small adjustment or Macs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ois_update/src/libraries/core/PathConfig.cc

    r7623 r7669  
    204204
    205205            // Get user directory
    206 #  ifdef ORXONOX_PLATFORM_UNIX /* Apple? */
     206#ifdef ORXONOX_PLATFORM_UNIX
    207207            char* userDataPathPtr(getenv("HOME"));
    208 #  else
     208#elif ORXONOX_PLATFORM_APPLE
     209            char* userDataPathPtr(getenv("HOME"));
     210#else
    209211            char* userDataPathPtr(getenv("APPDATA"));
    210 #  endif
     212#endif
    211213            if (userDataPathPtr == NULL)
    212214                ThrowException(General, "Could not retrieve user data path.");
Note: See TracChangeset for help on using the changeset viewer.