From e21c6c9f46421b0fdb9e2e804a035df15e8e6b90 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Wed, 28 Oct 2020 19:18:33 -0700 Subject: [PATCH] fix compile issues --- examples/SharedMemory/b3PluginManager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/SharedMemory/b3PluginManager.cpp b/examples/SharedMemory/b3PluginManager.cpp index 4f8528faf..916fd86b5 100644 --- a/examples/SharedMemory/b3PluginManager.cpp +++ b/examples/SharedMemory/b3PluginManager.cpp @@ -10,6 +10,7 @@ #define WIN32_LEAN_AND_MEAN #define VC_EXTRALEAN #include +#include typedef HMODULE B3_DYNLIB_HANDLE; @@ -102,11 +103,11 @@ struct b3Plugin static const char* GetMapKey(const char* path, const char* postFix) { - if (path != nullptr && strlen(path) > 0) + if (path != 0 && strlen(path) > 0) { return path; } - else if (postFix != nullptr && strlen(postFix) > 0) + else if (postFix != 0 && strlen(postFix) > 0) { return postFix; }