diff --git a/build/VS2010/HEVC_encoder.vcxproj b/build/VS2010/HEVC_encoder.vcxproj
index 601df482..2621bc29 100644
--- a/build/VS2010/HEVC_encoder.vcxproj
+++ b/build/VS2010/HEVC_encoder.vcxproj
@@ -100,7 +100,6 @@
Level3
Disabled
- WIN32;WIN64;X64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
CompileAsC
AssemblyAndSourceCode
diff --git a/src/bitstream.c b/src/bitstream.c
index 227c924a..020b4b41 100644
--- a/src/bitstream.c
+++ b/src/bitstream.c
@@ -17,7 +17,7 @@
#include
#include
//for hton
-#ifdef WIN32
+#ifdef _WIN32
#include
#else
#include