mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-31 17:24:15 +00:00
engine, public: prepare to removal of XASH_MSVC macro
This commit is contained in:
parent
c28aeb2362
commit
209a03a12a
@ -65,7 +65,7 @@ void *COM_FunctionFromName_SR( void *hInstance, const char *pName )
|
||||
|
||||
if( f ) return f;
|
||||
}
|
||||
#elif XASH_MSVC
|
||||
#elif _MSC_VER
|
||||
// TODO: COM_ConvertToLocalPlatform doesn't support MSVC yet
|
||||
// also custom loader strips always MSVC mangling, so Win32
|
||||
// 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 )
|
||||
{
|
||||
#if ( XASH_WIN32 || XASH_LINUX || XASH_APPLE ) && XASH_X86
|
||||
|
@ -62,7 +62,7 @@ Sys_DebugBreak
|
||||
void Sys_DebugBreak( void )
|
||||
{
|
||||
#if XASH_LINUX || ( XASH_WIN32 && !XASH_64BIT )
|
||||
#if XASH_MSVC
|
||||
#if _MSC_VER
|
||||
if( Sys_DebuggerPresent() )
|
||||
_asm { int 3 }
|
||||
#elif XASH_X86
|
||||
|
@ -24,10 +24,6 @@ GNU General Public License for more details.
|
||||
#include "build.h"
|
||||
#include "com_model.h"
|
||||
|
||||
#ifdef XASH_MSVC
|
||||
#pragma warning(disable : 4201) // nonstandard extension used
|
||||
#endif
|
||||
|
||||
// euler angle order
|
||||
#define PITCH 0
|
||||
#define YAW 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user