diff --git "a/include/pbc_vc_compat.win32.h" "b/include/pbc_vc_compat.win32.h"
index 27d3bba..7f772d4 100644
--- "a/include/pbc_vc_compat.win32.h"
+++ "b/include/pbc_vc_compat.win32.h"
@@ -3,7 +3,3 @@
#define __attribute__(X)
#define inline
#define __func__ __FUNCTION__
-
-#define NULL 0
-
-#define snprintf _snprintf
\ No newline at end of file
diff --git "a/pbcwin/projects/pbclib.vcxproj" "b/pbcwin/projects/pbclib.vcxproj"
index f0a9b3f..507c24d 100644
--- "a/pbcwin/projects/pbclib.vcxproj"
+++ "b/pbcwin/projects/pbclib.vcxproj"
@@ -214,13 +214,13 @@
$(SolutionDir)..\include;$(SolutionDir)..;$(SolutionDir)..\..\mpir\lib\$(Platform)\Release;$(IncludePath)
- $(SolutionDir)..\..\mpir\lib\x64\Release;$(LibraryPath)
+ $(SolutionDir)..\..\mpir\lib\$(Platform)\Release;$(LibraryPath)
$(SolutionDir)lib\$(Platform)\Release\
$(SolutionDir)obj\$(Platform)\$(Configuration)\$(ProjectName)\
- $(SolutionDir)..\include;$(SolutionDir)..;$(SolutionDir)..\..\mpir\lib\x64\Release;$(IncludePath)
- $(SolutionDir)..\..\mpir\lib\x64\Release;$(LibraryPath)
+ $(SolutionDir)..\include;$(SolutionDir)..;$(SolutionDir)..\..\mpir\lib\$(Platform)\Release;$(IncludePath)
+ $(SolutionDir)..\..\mpir\lib\$(Platform)\Release;$(LibraryPath)
$(SolutionDir)lib\$(Platform)\Release\
$(SolutionDir)obj\$(Platform)\$(Configuration)\$(ProjectName)\
@@ -245,7 +245,8 @@
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
pbc_vc_compat.win32.h
4068
- MultiThreadedDebug
+ $(RuntimeLibrary)
+ OldStyle
true
@@ -275,7 +276,8 @@ echo ***************************************************************************
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
pbc_vc_compat.win32.h
4068
- MultiThreadedDebug
+ $(RuntimeLibrary)
+ OldStyle
true
@@ -305,7 +307,7 @@ echo ***************************************************************************
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
pbc_vc_compat.win32.h
4068
- MultiThreadedDebugDLL
+ $(RuntimeLibrary)
true
@@ -332,7 +334,7 @@ echo ***************************************************************************
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
pbc_vc_compat.win32.h
4068
- MultiThreadedDebugDLL
+ $(RuntimeLibrary)
true
@@ -361,7 +363,7 @@ echo ***************************************************************************
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
pbc_vc_compat.win32.h
4068
- MultiThreaded
+ $(RuntimeLibrary)
true
@@ -395,7 +397,7 @@ echo ***************************************************************************
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
pbc_vc_compat.win32.h
4068
- MultiThreaded
+ $(RuntimeLibrary)
true
@@ -429,7 +431,7 @@ echo ***************************************************************************
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
pbc_vc_compat.win32.h
4068
- MultiThreadedDLL
+ $(RuntimeLibrary)
true
@@ -460,7 +462,7 @@ echo ***************************************************************************
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
pbc_vc_compat.win32.h
4068
- MultiThreadedDLL
+ $(RuntimeLibrary)
true