zap_wanpipe.c now builds clean on windows, you need to have AFT_beta_6_0_2_5 in a paralell directory to the main openzap directory. File available from: ftp://ftp.sangoma.com/WINDOWS/AFT/AFT_beta_6_0_2_5.zip

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@21 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2007-05-17 19:19:03 +00:00
parent 27239d5f78
commit 7d5bd9cd6e
2 changed files with 3 additions and 5 deletions

View File

@ -193,20 +193,18 @@
> >
<FileConfiguration <FileConfiguration
Name="Debug|Win32" Name="Debug|Win32"
ExcludedFromBuild="true"
> >
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="C:\src\wanpipe-3.1.0.p21\patches\kdrivers\include" AdditionalIncludeDirectories="..\AFT_beta_6_0_2_5\include\api;..\AFT_beta_6_0_2_5\include\pnp"
/> />
</FileConfiguration> </FileConfiguration>
<FileConfiguration <FileConfiguration
Name="Release|Win32" Name="Release|Win32"
ExcludedFromBuild="true"
> >
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="C:\src\wanpipe-3.1.0.p21\patches\kdrivers\include" AdditionalIncludeDirectories="..\AFT_beta_6_0_2_5\include\api;..\AFT_beta_6_0_2_5\include\pnp"
/> />
</FileConfiguration> </FileConfiguration>
</File> </File>

View File

@ -46,7 +46,7 @@
#ifdef _MSC_VER #ifdef _MSC_VER
/* disable warning for zero length array in a struct */ /* disable warning for zero length array in a struct */
/* this will cause errors on c99 and ansi compliant compilers and will need to be fixed in the wanpipe header files */ /* this will cause errors on c99 and ansi compliant compilers and will need to be fixed in the wanpipe header files */
#pragma warning(disable:4200) #pragma warning(disable:4200 4201 4214)
#endif #endif
#include <windows.h> #include <windows.h>
#include <winioctl.h> #include <winioctl.h>