msvc8 support

This commit is contained in:
mittorn 2019-04-12 14:33:57 +07:00
parent f1638b09c5
commit d5911b33b1
4 changed files with 10 additions and 6 deletions

View File

@ -1456,9 +1456,10 @@ void Netchan_TransmitBits( netchan_t *chan, int length, byte *data )
// stall reliable payloads if sending from frag buffer
if( send_from_regular && ( send_from_frag[FRAG_NORMAL_STREAM] ))
{
send_from_regular = false;
{
int maxsize = MAX_RELIABLE_PAYLOAD;
send_from_regular = false;
if( chan->pfnBlockSize )
maxsize = chan->pfnBlockSize( chan->client, FRAGSIZE_SPLIT );

View File

@ -15,6 +15,9 @@ GNU General Public License for more details.
#include <windows.h>
#include "platform/platform.h"
#ifdef _WIN32
BOOL WINAPI IsDebuggerPresent(VOID);
#endif // _WIN32
#if XASH_TIMER == TIMER_WIN32
double Platform_DoubleTime( void )

2
mainui

@ -1 +1 @@
Subproject commit 640b4ced65ed9303942d64b72257714e1f3db92c
Subproject commit ebc9d90fb16b713f484ddee9c6755fe6281c7fe0

View File

@ -664,7 +664,7 @@ MSDEV_PROJECT = \
'''<?xml version="1.0" encoding="UTF-8"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Version="8,00"
Name=""
ProjectGUID=""
Keyword="Win32Proj"
@ -759,8 +759,8 @@ MSDEV_PROJECT = \
'''
MSDEV_SOLUTION = [
'Microsoft Visual Studio Solution File, Format Version 10.00\n',
'# Visual Studio 2008\n',
'Microsoft Visual Studio Solution File, Format Version 8.00\n',
'# Visual Studio 2005\n',
'Global\n',
'GlobalSection(SolutionConfigurationPlatforms) = preSolution\n',
'Debug|Win32 = Debug|Win32\n',