diff --git a/build/ffms2/ffms2.vcxproj b/build/ffms2/ffms2.vcxproj
index df3c2c514..1806e6f75 100644
--- a/build/ffms2/ffms2.vcxproj
+++ b/build/ffms2/ffms2.vcxproj
@@ -14,6 +14,10 @@
+
+ HAALISOURCE;
+
+
@@ -24,7 +28,7 @@
WITH_AVRESAMPLE;
FFMS_EXPORTS;
- HAALISOURCE;
+ $(Ffms2PreprocessorHaalisource)
_CRT_SECURE_NO_WARNINGS;
_CRT_NONSTDC_NO_DEPRECATE;
_SCL_SECURE_NO_WARNINGS;