|
|
@ -65,7 +65,7 @@ void *COM_FunctionFromName_SR( void *hInstance, const char *pName ) |
|
|
|
|
|
|
|
|
|
|
|
if( f ) return f; |
|
|
|
if( f ) return f; |
|
|
|
} |
|
|
|
} |
|
|
|
#elif XASH_MSVC |
|
|
|
#elif _MSC_VER |
|
|
|
// TODO: COM_ConvertToLocalPlatform doesn't support MSVC yet
|
|
|
|
// TODO: COM_ConvertToLocalPlatform doesn't support MSVC yet
|
|
|
|
// also custom loader strips always MSVC mangling, so Win32
|
|
|
|
// also custom loader strips always MSVC mangling, so Win32
|
|
|
|
// platforms already use platform-neutral names
|
|
|
|
// platforms already use platform-neutral names
|
|
|
@ -126,6 +126,16 @@ dll_user_t *FS_FindLibrary( const char *dllname, qboolean directpath ) |
|
|
|
============================================================================= |
|
|
|
============================================================================= |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void COM_GenerateCommonLibraryName( const char *name, const char *ext, int os, int cpu, char *out, size_t size ) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static void COM_GenerateCommonLibraryName( const char *name, const char *ext, char *out, size_t size ) |
|
|
|
static void COM_GenerateCommonLibraryName( const char *name, const char *ext, char *out, size_t size ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
#if ( XASH_WIN32 || XASH_LINUX || XASH_APPLE ) && XASH_X86 |
|
|
|
#if ( XASH_WIN32 || XASH_LINUX || XASH_APPLE ) && XASH_X86 |
|
|
|