- Timestamp:
- Aug 31, 2008 6:01:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrNative.cpp
r8245 r11888 215 215 return rc; 216 216 } 217 218 219 /** 220 * Gets the default file suffix for DLL/SO/DYLIB/whatever. 221 * 222 * @returns The stuff (readonly). 223 */ 224 RTDECL(const char *) RTLdrGetSuff(void) 225 { 226 #if defined(RT_OS_OS2) || defined(RT_OS_WINDOWS) 227 static const char s_szSuff[] = ".DLL"; 228 #elif defined(RT_OS_L4) 229 static const char s_szSuff[] = ".s.so"; 230 #elif defined(RT_OS_DARWIN) 231 static const char s_szSuff[] = ".dylib"; 232 #else 233 static const char s_szSuff[] = ".so"; 234 #endif 235 236 return s_szSuff; 237 } 238
Note:
See TracChangeset
for help on using the changeset viewer.