Changeset 11888
- Timestamp:
- 08/31/08 20:01:06 (3 months ago)
- Files:
-
- trunk/include/iprt/ldr.h (modified) (1 diff)
- trunk/src/VBox/Runtime/common/ldr/ldrNative.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/iprt/ldr.h
r8245 r11888 42 42 __BEGIN_DECLS 43 43 44 45 /** 46 * Gets the default file suffix for DLL/SO/DYLIB/whatever. 47 * 48 * @returns The stuff (readonly). 49 */ 50 RTDECL(const char *) RTLdrGetSuff(void); 44 51 45 52 /** 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

