* Final fixes for VS2010 build.

This commit is contained in:
iProgramInCpp
2023-08-17 16:21:42 +03:00
parent acaf4aa614
commit 5821a5d5ef
4 changed files with 3 additions and 7 deletions

View File

@@ -11,7 +11,7 @@
// Sound Systems
#include "client/sound/SoundSystem.hpp"
#if false
#if 0
// Add sound system overrides here

View File

@@ -38,7 +38,7 @@ CThread::CThread(CThreadFunction func, void* param)
m_thrd = CreateThread(
NULL, // not used
0, // initial stack size
func, // thread function
(LPTHREAD_START_ROUTINE)func, // thread function
param, // thread argument
0, // creation option
&dwThreadId // thread identifier (but does it really matter if I'm the one managing them...?)

View File

@@ -49,11 +49,7 @@
#endif
#ifdef USE_WIN32_THREADS
typedef LPTHREAD_START_ROUTINE CThreadFunction;
#else
typedef void* (*CThreadFunction)(void*);
#endif
class CThread
{

View File

@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "minecraftcpp", "minecraftcpp.vcxproj", "{AD85F5F3-6AD0-4C11-BB1D-33ADB8EEB0B9}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "minecraftcpp", "minecraftcpp_vs2010.vcxproj", "{AD85F5F3-6AD0-4C11-BB1D-33ADB8EEB0B9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution