Changeset 8295 for code/branches
- Timestamp:
- Apr 22, 2011, 4:07:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2/src/libraries/core/DynLib.cc
r8284 r8295 75 75 if (name.substr(name.length() - 3, 3) != ".so") 76 76 name += ".so"; 77 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE77 #elif defined(ORXONOX_PLATFORM_APPLE) 78 78 // dlopen() does not add .dylib to the filename, like windows does for .dll 79 79 if (name.substr(name.length() - 6, 6) != ".dylib") 80 80 name += ".dylib"; 81 #elif OGRE_PLATFORM == OGRE_PLATFORM_WIN3281 #elif defined(ORXONOX_PLATFORM_WINDOWS) 82 82 // Although LoadLibraryEx will add .dll itself when you only specify the library name, 83 83 // 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.