Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8295


Ignore:
Timestamp:
Apr 22, 2011, 4:07:25 AM (14 years ago)
Author:
rgrieder
Message:

Use our own platform macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/src/libraries/core/DynLib.cc

    r8284 r8295  
    7575        if (name.substr(name.length() - 3, 3) != ".so")
    7676           name += ".so";
    77 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE
     77#elif defined(ORXONOX_PLATFORM_APPLE)
    7878        // dlopen() does not add .dylib to the filename, like windows does for .dll
    7979        if (name.substr(name.length() - 6, 6) != ".dylib")
    8080            name += ".dylib";
    81 #elif OGRE_PLATFORM == OGRE_PLATFORM_WIN32
     81#elif defined(ORXONOX_PLATFORM_WINDOWS)
    8282        // Although LoadLibraryEx will add .dll itself when you only specify the library name,
    8383        // if you include a relative path then it does not. So, add it to be sure.
Note: See TracChangeset for help on using the changeset viewer.