diff --git a/plugins/checksum/checksum.vcxproj b/plugins/checksum/checksum.vcxproj
index edc79ff1..7338fa24 100644
--- a/plugins/checksum/checksum.vcxproj
+++ b/plugins/checksum/checksum.vcxproj
@@ -84,7 +84,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;CHECKSUM_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;CHECKSUM_EXPORTS;%(PreprocessorDefinitions)
$(DepsRoot)\include;$(Glib);..;%(AdditionalIncludeDirectories)
true
diff --git a/plugins/dns/dns.vcxproj b/plugins/dns/dns.vcxproj
index 26371e86..92316da0 100644
--- a/plugins/dns/dns.vcxproj
+++ b/plugins/dns/dns.vcxproj
@@ -84,7 +84,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;DNS_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;DNS_EXPORTS;%(PreprocessorDefinitions)
..;%(AdditionalIncludeDirectories)
true
diff --git a/plugins/doat/doat.vcxproj b/plugins/doat/doat.vcxproj
index 3bfeb320..ae44adba 100644
--- a/plugins/doat/doat.vcxproj
+++ b/plugins/doat/doat.vcxproj
@@ -82,7 +82,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;DOAT_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;DOAT_EXPORTS;%(PreprocessorDefinitions)
..;%(AdditionalIncludeDirectories)
true
diff --git a/plugins/exec/exec.vcxproj b/plugins/exec/exec.vcxproj
index 9bfe5917..ba620241 100644
--- a/plugins/exec/exec.vcxproj
+++ b/plugins/exec/exec.vcxproj
@@ -82,7 +82,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;EXEC_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;EXEC_EXPORTS;%(PreprocessorDefinitions)
true
..;%(AdditionalIncludeDirectories)
diff --git a/plugins/fishlim/fishlim.vcxproj b/plugins/fishlim/fishlim.vcxproj
index 5c3c0c68..43ab00e3 100644
--- a/plugins/fishlim/fishlim.vcxproj
+++ b/plugins/fishlim/fishlim.vcxproj
@@ -84,7 +84,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;FISHLIM_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;FISHLIM_EXPORTS;%(PreprocessorDefinitions)
true
$(DepsRoot)\include;$(Glib);..;%(AdditionalIncludeDirectories)
diff --git a/plugins/hextray/hextray.vcxproj b/plugins/hextray/hextray.vcxproj
index de7da08c..378d31af 100644
--- a/plugins/hextray/hextray.vcxproj
+++ b/plugins/hextray/hextray.vcxproj
@@ -81,7 +81,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;XTRAY_EXPORTS;_STL70_;_STATIC_CPPLIB;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;XTRAY_EXPORTS;_STL70_;_STATIC_CPPLIB;%(PreprocessorDefinitions)
true
..;%(AdditionalIncludeDirectories)
diff --git a/plugins/lua/lua.vcxproj b/plugins/lua/lua.vcxproj
index 842cc78b..2f08217b 100644
--- a/plugins/lua/lua.vcxproj
+++ b/plugins/lua/lua.vcxproj
@@ -115,7 +115,7 @@
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;$(OwnFlags);snprintf=g_snprintf;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;$(OwnFlags);snprintf=g_snprintf;%(PreprocessorDefinitions)
true
diff --git a/plugins/mpcinfo/mpcinfo.vcxproj b/plugins/mpcinfo/mpcinfo.vcxproj
index 9ccf6385..afb53981 100644
--- a/plugins/mpcinfo/mpcinfo.vcxproj
+++ b/plugins/mpcinfo/mpcinfo.vcxproj
@@ -82,7 +82,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;MPCINFO_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;MPCINFO_EXPORTS;%(PreprocessorDefinitions)
true
..;%(AdditionalIncludeDirectories)
diff --git a/plugins/perl/perl-512.vcxproj b/plugins/perl/perl-512.vcxproj
index ebac3fc9..7bfb6506 100644
--- a/plugins/perl/perl-512.vcxproj
+++ b/plugins/perl/perl-512.vcxproj
@@ -93,7 +93,7 @@ move xchat.pm.h "$(IntDir)"
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;PERL512_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;PERL512_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)
true
$(Perl512Path)\perl\lib\CORE;$(IntDir);..;%(AdditionalIncludeDirectories)
diff --git a/plugins/perl/perl-514.vcxproj b/plugins/perl/perl-514.vcxproj
index 27c39e41..cbf14d9a 100644
--- a/plugins/perl/perl-514.vcxproj
+++ b/plugins/perl/perl-514.vcxproj
@@ -93,7 +93,7 @@ move xchat.pm.h "$(IntDir)"
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;PERL514_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;PERL514_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)
$(Perl514Path)\perl\lib\CORE;$(IntDir);..;%(AdditionalIncludeDirectories)
true
diff --git a/plugins/perl/perl-516.vcxproj b/plugins/perl/perl-516.vcxproj
index 5e7c2d44..53765063 100644
--- a/plugins/perl/perl-516.vcxproj
+++ b/plugins/perl/perl-516.vcxproj
@@ -93,7 +93,7 @@ move xchat.pm.h "$(IntDir)"
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;PERL516_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;PERL516_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)
$(Perl516Path)\perl\lib\CORE;$(IntDir);..;%(AdditionalIncludeDirectories)
true
diff --git a/plugins/python/python.vcxproj b/plugins/python/python.vcxproj
index 4251d1d9..26dd9780 100644
--- a/plugins/python/python.vcxproj
+++ b/plugins/python/python.vcxproj
@@ -84,7 +84,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;PYTHON_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;PYTHON_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)
$(Glib);$(PythonPath)\include;..;%(AdditionalIncludeDirectories)
true
diff --git a/plugins/sasl/sasl.vcxproj b/plugins/sasl/sasl.vcxproj
index 97f6b243..3565a2b6 100644
--- a/plugins/sasl/sasl.vcxproj
+++ b/plugins/sasl/sasl.vcxproj
@@ -84,7 +84,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;SASL_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;SASL_EXPORTS;%(PreprocessorDefinitions)
$(Glib);..;%(AdditionalIncludeDirectories)
true
diff --git a/plugins/tcl/tcl.vcxproj b/plugins/tcl/tcl.vcxproj
index b2fca948..c3ce5276 100644
--- a/plugins/tcl/tcl.vcxproj
+++ b/plugins/tcl/tcl.vcxproj
@@ -93,7 +93,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;TCL_EXPORTS;TCL_DLL="$(TclLib).dll";$(OwnFlags);%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;TCL_EXPORTS;TCL_DLL="$(TclLib).dll";$(OwnFlags);%(PreprocessorDefinitions)
$(TclPath)\include;..;%(AdditionalIncludeDirectories)
true
diff --git a/plugins/upd/upd.vcxproj b/plugins/upd/upd.vcxproj
index 11b49eaa..458e2482 100644
--- a/plugins/upd/upd.vcxproj
+++ b/plugins/upd/upd.vcxproj
@@ -84,7 +84,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;UPD_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;UPD_EXPORTS;%(PreprocessorDefinitions)
true
..;%(AdditionalIncludeDirectories)
diff --git a/plugins/winamp/winamp.vcxproj b/plugins/winamp/winamp.vcxproj
index 4d607be8..038941e3 100644
--- a/plugins/winamp/winamp.vcxproj
+++ b/plugins/winamp/winamp.vcxproj
@@ -82,7 +82,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;WINAMP_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;WINAMP_EXPORTS;%(PreprocessorDefinitions)
true
..;%(AdditionalIncludeDirectories)
diff --git a/plugins/winsys/winsys.vcxproj b/plugins/winsys/winsys.vcxproj
index ba04efc7..ee2431c2 100644
--- a/plugins/winsys/winsys.vcxproj
+++ b/plugins/winsys/winsys.vcxproj
@@ -85,7 +85,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions)
..;%(AdditionalIncludeDirectories)
true
false
diff --git a/plugins/wmpa/wmpa.vcxproj b/plugins/wmpa/wmpa.vcxproj
index 2bfe6995..92ef0975 100644
--- a/plugins/wmpa/wmpa.vcxproj
+++ b/plugins/wmpa/wmpa.vcxproj
@@ -84,7 +84,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;_USRDLL;WMPA_EXPORTS;_AFXDLL;_AFX_NO_DAO_SUPPORT;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;WMPA_EXPORTS;_AFXDLL;_AFX_NO_DAO_SUPPORT;%(PreprocessorDefinitions)
false
diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj
index 88281420..423172a3 100644
--- a/src/common/common.vcxproj
+++ b/src/common/common.vcxproj
@@ -140,7 +140,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)
$(DepsRoot)\include;$(Glib);%(AdditionalIncludeDirectories)
true
diff --git a/src/dirent/dirent.vcxproj b/src/dirent/dirent.vcxproj
index 2586fe39..0cd57888 100644
--- a/src/dirent/dirent.vcxproj
+++ b/src/dirent/dirent.vcxproj
@@ -84,7 +84,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_LIB;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_LIB;%(PreprocessorDefinitions)
true
diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj
index e21343e1..231b0251 100644
--- a/src/fe-gtk/fe-gtk.vcxproj
+++ b/src/fe-gtk/fe-gtk.vcxproj
@@ -84,7 +84,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)
$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)
true
diff --git a/src/fe-text/fe-text.vcxproj b/src/fe-text/fe-text.vcxproj
index 5785e442..d44c92ca 100644
--- a/src/fe-text/fe-text.vcxproj
+++ b/src/fe-text/fe-text.vcxproj
@@ -83,7 +83,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_CONSOLE;$(OwnFlags);%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_CONSOLE;$(OwnFlags);%(PreprocessorDefinitions)
$(DepsRoot)\include;$(Glib);%(AdditionalIncludeDirectories)
true
diff --git a/src/version/version.vcxproj b/src/version/version.vcxproj
index a96a3641..7a3259aa 100644
--- a/src/version/version.vcxproj
+++ b/src/version/version.vcxproj
@@ -81,7 +81,7 @@
MaxSpeed
true
true
- WIN32;_WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ WIN32;_WIN64;_AMD64_;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
true