diff --git a/libs/freetdm/msvc/openzap.vcproj b/libs/freetdm/msvc/openzap.vcproj
index f677bc216b..33776e109c 100644
--- a/libs/freetdm/msvc/openzap.vcproj
+++ b/libs/freetdm/msvc/openzap.vcproj
@@ -41,7 +41,7 @@
+
+
@@ -389,6 +395,10 @@
RelativePath="..\src\libteletone_generate.c"
>
+
+
@@ -411,6 +421,10 @@
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
+
+
@@ -443,6 +457,10 @@
RelativePath="..\src\include\openzap.h"
>
+
+
@@ -461,38 +479,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/libs/freetdm/openzap.sln b/libs/freetdm/openzap.sln
index ab53115d35..2e05fb4136 100644
--- a/libs/freetdm/openzap.sln
+++ b/libs/freetdm/openzap.sln
@@ -7,8 +7,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Unix Makefiles", "Unix Make
ProjectSection(SolutionItems) = preProject
general.makefile = general.makefile
Makefile = Makefile
- wanpipe = wanpipe
- zt = zt
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testanalog", "msvc\testanalog\testanalog.vcproj", "{BB833648-BAFF-4BE2-94DB-F8BB043C588C}"
diff --git a/libs/freetdm/src/zap_io.c b/libs/freetdm/src/zap_io.c
index 6f6bdb6940..9c251c9c42 100644
--- a/libs/freetdm/src/zap_io.c
+++ b/libs/freetdm/src/zap_io.c
@@ -31,7 +31,9 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef WIN32
#define ZAP_ZT_SUPPORT
+#endif
#define ZAP_WANPIPE_SUPPORT
#include "openzap.h"
#include "zap_isdn.h"