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.h

    r7513 r7575  
    6060#elif defined(ORXONOX_PLATFORM_APPLE)
    6161#    define DYNLIB_HANDLE void*
    62 #    define DYNLIB_LOAD( a ) Ogre::mac_loadDylib( a )
     62#    define DYNLIB_LOAD( a ) DynLib::mac_loadDylib( a )
    6363#    define DYNLIB_GETSYM( a, b ) dlsym( a, b )
    6464#    define DYNLIB_UNLOAD( a ) dlclose( a )
     
    117117    protected:
    118118
     119#elif defined(ORXONOX_PLATFORM_APPLE)
     120        // From macUtils.h in OGRE
     121        static void* mac_loadDylib(const char* name);
     122#endif
     123
    119124        /// Handle to the loaded library.
    120125        DYNLIB_HANDLE m_hInst;
Note: See TracChangeset for help on using the changeset viewer.