diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj
index 343ff58a..f750e947 100644
--- a/src/common/common.vcxproj
+++ b/src/common/common.vcxproj
@@ -124,7 +124,7 @@
WIN32;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)
$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)
true
- 4244;4267
+ 4244;4267;4996
Windows
@@ -143,7 +143,7 @@
WIN32;_WIN64;_AMD64_;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)
$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)
true
- 4244;4267
+ 4244;4267;4996
Windows
diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj
index 6963134a..0bc479c7 100644
--- a/src/fe-gtk/fe-gtk.vcxproj
+++ b/src/fe-gtk/fe-gtk.vcxproj
@@ -62,7 +62,7 @@
WIN32;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)
$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)
true
- 4244;4267
+ 4244;4267;4996
Windows
@@ -84,7 +84,7 @@
WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)
$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)
true
- 4244;4267
+ 4244;4267;4996
Windows
diff --git a/win32/hexchat.props b/win32/hexchat.props
index 6237cbb9..e9807ec5 100644
--- a/win32/hexchat.props
+++ b/win32/hexchat.props
@@ -13,7 +13,7 @@
c:\mozilla-build\python-2.7
- G_DISABLE_CAST_CHECKS;GDK_PIXBUF_DISABLE_DEPRECATED;GDK_DISABLE_DEPRECATED;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline;
+ G_DISABLE_CAST_CHECKS;GDK_PIXBUF_DISABLE_DEPRECATED;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline;
$(YourDepsPath)\$(PlatformName)
$(YourGendefPath)
$(YourMsgfmtPath)