diff --git a/ide/vs2017/mimalloc-override.vcxproj b/ide/vs2017/mimalloc-override.vcxproj
index f308225b..0d11068b 100644
--- a/ide/vs2017/mimalloc-override.vcxproj
+++ b/ide/vs2017/mimalloc-override.vcxproj
@@ -209,12 +209,14 @@
-
-
-
+
+
+
+
+
diff --git a/ide/vs2017/mimalloc-override.vcxproj.filters b/ide/vs2017/mimalloc-override.vcxproj.filters
index a67dddad..009962dd 100644
--- a/ide/vs2017/mimalloc-override.vcxproj.filters
+++ b/ide/vs2017/mimalloc-override.vcxproj.filters
@@ -14,15 +14,6 @@
Header Files
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
Header Files
@@ -32,6 +23,21 @@
Header Files
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
diff --git a/ide/vs2017/mimalloc.vcxproj b/ide/vs2017/mimalloc.vcxproj
index e7be785c..05024448 100644
--- a/ide/vs2017/mimalloc.vcxproj
+++ b/ide/vs2017/mimalloc.vcxproj
@@ -215,12 +215,6 @@
false
false
-
- true
- true
- true
- true
-
true
true
@@ -249,12 +243,14 @@
-
-
-
+
+
+
+
+
diff --git a/ide/vs2017/mimalloc.vcxproj.filters b/ide/vs2017/mimalloc.vcxproj.filters
index 27cd4b5e..249757b6 100644
--- a/ide/vs2017/mimalloc.vcxproj.filters
+++ b/ide/vs2017/mimalloc.vcxproj.filters
@@ -35,9 +35,6 @@
Source Files
-
- Source Files
-
Source Files
@@ -70,23 +67,29 @@
Header Files
-
- Header Files
-
-
- Header Files
-
Header Files
-
- Header Files
-
Header Files
Header Files
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
\ No newline at end of file
diff --git a/ide/vs2019/mimalloc-override.vcxproj b/ide/vs2019/mimalloc-override.vcxproj
index 5fb809c8..d80133e7 100644
--- a/ide/vs2019/mimalloc-override.vcxproj
+++ b/ide/vs2019/mimalloc-override.vcxproj
@@ -209,12 +209,14 @@
-
-
-
+
+
+
+
+
diff --git a/ide/vs2019/mimalloc-override.vcxproj.filters b/ide/vs2019/mimalloc-override.vcxproj.filters
index 737e0600..357a9a2f 100644
--- a/ide/vs2019/mimalloc-override.vcxproj.filters
+++ b/ide/vs2019/mimalloc-override.vcxproj.filters
@@ -49,30 +49,38 @@
Source Files
-
+
+ Source Files
+
Header Files
-
- Header Files
-
-
- Header Files
-
Header Files
Header Files
-
- Header Files
-
Source Files
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
diff --git a/ide/vs2019/mimalloc.vcxproj b/ide/vs2019/mimalloc.vcxproj
index b18674ad..79146c99 100644
--- a/ide/vs2019/mimalloc.vcxproj
+++ b/ide/vs2019/mimalloc.vcxproj
@@ -205,12 +205,6 @@
false
false
-
- true
- true
- true
- true
-
true
true
@@ -226,6 +220,12 @@
+
+ true
+ true
+ true
+ true
+
@@ -241,12 +241,14 @@
-
-
-
+
+
+
+
+
diff --git a/ide/vs2019/mimalloc.vcxproj.filters b/ide/vs2019/mimalloc.vcxproj.filters
index 5ab88914..9b215312 100644
--- a/ide/vs2019/mimalloc.vcxproj.filters
+++ b/ide/vs2019/mimalloc.vcxproj.filters
@@ -10,9 +10,6 @@
Source Files
-
- Source Files
-
Source Files
@@ -55,29 +52,38 @@
Source Files
+
+ Source Files
+
Header Files
-
- Header Files
-
-
- Header Files
-
Header Files
Header Files
-
- Header Files
-
Source Files
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
diff --git a/ide/vs2022/mimalloc-override.vcxproj b/ide/vs2022/mimalloc-override.vcxproj
index 6eac2fe0..50a3d6b9 100644
--- a/ide/vs2022/mimalloc-override.vcxproj
+++ b/ide/vs2022/mimalloc-override.vcxproj
@@ -241,6 +241,12 @@
+
+ true
+ true
+ true
+ true
+
diff --git a/ide/vs2022/mimalloc.vcxproj b/ide/vs2022/mimalloc.vcxproj
index e6474d0f..9a7bf18c 100644
--- a/ide/vs2022/mimalloc.vcxproj
+++ b/ide/vs2022/mimalloc.vcxproj
@@ -220,6 +220,12 @@
+
+ true
+ true
+ true
+ true
+
diff --git a/src/prim/windows/prim.c b/src/prim/windows/prim.c
index bea1d437..e3dc33e3 100644
--- a/src/prim/windows/prim.c
+++ b/src/prim/windows/prim.c
@@ -11,12 +11,8 @@ terms of the MIT license. A copy of the license can be found in the file
#include "mimalloc/internal.h"
#include "mimalloc/atomic.h"
#include "mimalloc/prim.h"
-#include // strerror
#include // fputs, stderr
-#ifdef _MSC_VER
-#pragma warning(disable:4996) // strerror
-#endif
//---------------------------------------------
// Dynamically bind Windows API points for portability