From 63b8b9c83e4bc1000f208b7fad72f61bb9dcf8e5 Mon Sep 17 00:00:00 2001 From: Jacco Bikker Date: Tue, 17 Dec 2024 18:35:19 +0100 Subject: [PATCH] Fix broken build. --- tiny_bvh_test.sln | 10 ---------- tiny_ocl.h | 2 +- vcproj/tiny_bvh_pt.vcxproj | 4 ++-- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/tiny_bvh_test.sln b/tiny_bvh_test.sln index cdea067..bb4456e 100644 --- a/tiny_bvh_test.sln +++ b/tiny_bvh_test.sln @@ -13,8 +13,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tiny_bvh_minimal", "vcproj\ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tiny_bvh_pt", "vcproj\tiny_bvh_pt.vcxproj", "{430FCECF-7685-40A7-A415-4A0DE487158F}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tiny_bvh_anim", "vcproj\tiny_bvh_anim.vcxproj", "{2DC14EA1-D6E9-45F1-A6CC-6E0A0BAD8A9B}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tiny_bvh_gpu", "vcproj\tiny_bvh_gpu.vcxproj", "{4B0A219D-68D0-41EA-A0C4-8EB9E6171218}" EndProject Global @@ -65,14 +63,6 @@ Global {430FCECF-7685-40A7-A415-4A0DE487158F}.Release|x64.Build.0 = Release|x64 {430FCECF-7685-40A7-A415-4A0DE487158F}.Release|x86.ActiveCfg = Release|Win32 {430FCECF-7685-40A7-A415-4A0DE487158F}.Release|x86.Build.0 = Release|Win32 - {2DC14EA1-D6E9-45F1-A6CC-6E0A0BAD8A9B}.Debug|x64.ActiveCfg = Debug|x64 - {2DC14EA1-D6E9-45F1-A6CC-6E0A0BAD8A9B}.Debug|x64.Build.0 = Debug|x64 - {2DC14EA1-D6E9-45F1-A6CC-6E0A0BAD8A9B}.Debug|x86.ActiveCfg = Debug|Win32 - {2DC14EA1-D6E9-45F1-A6CC-6E0A0BAD8A9B}.Debug|x86.Build.0 = Debug|Win32 - {2DC14EA1-D6E9-45F1-A6CC-6E0A0BAD8A9B}.Release|x64.ActiveCfg = Release|x64 - {2DC14EA1-D6E9-45F1-A6CC-6E0A0BAD8A9B}.Release|x64.Build.0 = Release|x64 - {2DC14EA1-D6E9-45F1-A6CC-6E0A0BAD8A9B}.Release|x86.ActiveCfg = Release|Win32 - {2DC14EA1-D6E9-45F1-A6CC-6E0A0BAD8A9B}.Release|x86.Build.0 = Release|Win32 {4B0A219D-68D0-41EA-A0C4-8EB9E6171218}.Debug|x64.ActiveCfg = Debug|x64 {4B0A219D-68D0-41EA-A0C4-8EB9E6171218}.Debug|x64.Build.0 = Debug|x64 {4B0A219D-68D0-41EA-A0C4-8EB9E6171218}.Debug|x86.ActiveCfg = Debug|Win32 diff --git a/tiny_ocl.h b/tiny_ocl.h index 5280a81..cf11ba2 100644 --- a/tiny_ocl.h +++ b/tiny_ocl.h @@ -358,7 +358,7 @@ void FatalError( const char* fmt, ... ) va_start( args, fmt ); vsnprintf( t, sizeof( t ) - 2, fmt, args ); va_end( args ); -#ifdef _MSC_VER +#if 0 MessageBox( NULL, t, "Fatal error", MB_OK ); #else fprintf( stderr, t ); diff --git a/vcproj/tiny_bvh_pt.vcxproj b/vcproj/tiny_bvh_pt.vcxproj index 3271fad..77199e3 100644 --- a/vcproj/tiny_bvh_pt.vcxproj +++ b/vcproj/tiny_bvh_pt.vcxproj @@ -116,7 +116,7 @@ Level3 true - _DEBUG;_WINDOWS;%(PreprocessorDefinitions) + _DEBUG;_WINDOWS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS true stdcpp20 @@ -135,7 +135,7 @@ true true true - NDEBUG;_WINDOWS;%(PreprocessorDefinitions); _CRT_SECURE_NO_WARNINGS + NDEBUG;_WINDOWS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS true stdcpp20