Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 21, 2010, 11:16:39 PM (14 years ago)
Author:
rgrieder
Message:

Copied code for Ogre::mac_loadDylib to DynLib.h because the symbol doesn't get exported to the Ogre library.

File:
1 edited

Legend:

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

    r7513 r7575  
    143143    }
    144144
     145#if defined(ORXONOX_PLATFORM_APPLE)
     146    /*static*/ void* DynLib::mac_loadDylib(const char* name)
     147    {
     148        std::string fullPath=name;
     149        if(name[0]!='/')
     150            fullPath = macPluginPath()+"/"+fullPath;
     151
     152            return dlopen(fullPath.c_str(), RTLD_LAZY | RTLD_GLOBAL);
     153    }
     154#endif
    145155}
Note: See TracChangeset for help on using the changeset viewer.