diff --git a/src/racket/sgc/sgc.c b/src/racket/sgc/sgc.c
index 1fbf8607d1..3c2692d4b4 100644
--- a/src/racket/sgc/sgc.c
+++ b/src/racket/sgc/sgc.c
@@ -35,6 +35,11 @@
#include "mzconfig.h"
#include "sgc.h"
+#ifdef _WIN64
+# define SIZEOF_LONG 8
+# define inline _inline
+#endif
+
#ifdef SIZEOF_LONG
# if SIZEOF_LONG == 8
# define SIXTY_FOUR_BIT_INTEGERS
diff --git a/src/worksp/libffi/libffi.vcproj b/src/worksp/libffi/libffi.vcproj
index f4c957ad47..e378bf3c70 100644
--- a/src/worksp/libffi/libffi.vcproj
+++ b/src/worksp/libffi/libffi.vcproj
@@ -48,7 +48,7 @@
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
- RuntimeLibrary="3"
+ RuntimeLibrary="1"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
@@ -111,7 +111,7 @@
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
- RuntimeLibrary="3"
+ RuntimeLibrary="1"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
diff --git a/src/worksp/libmzgc/libmzgc.vcproj b/src/worksp/libmzgc/libmzgc.vcproj
index e2cb0b1fd5..b1c654a59e 100644
--- a/src/worksp/libmzgc/libmzgc.vcproj
+++ b/src/worksp/libmzgc/libmzgc.vcproj
@@ -151,7 +151,7 @@
/>
+
@@ -60,9 +63,11 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+