mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
more windows build tweaks
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@12 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
4ce6cb1cf9
commit
db0801c82d
@ -45,7 +45,7 @@
|
|||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
DisableLanguageExtensions="true"
|
DisableLanguageExtensions="false"
|
||||||
RuntimeTypeInfo="false"
|
RuntimeTypeInfo="false"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
@ -110,7 +110,7 @@
|
|||||||
AdditionalIncludeDirectories="src/include"
|
AdditionalIncludeDirectories="src/include"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
|
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
DisableLanguageExtensions="true"
|
DisableLanguageExtensions="false"
|
||||||
RuntimeTypeInfo="false"
|
RuntimeTypeInfo="false"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
@ -185,6 +185,7 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalIncludeDirectories="C:\src\wanpipe-3.1.0.p21\patches\kdrivers\include"
|
||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
<FileConfiguration
|
<FileConfiguration
|
||||||
@ -193,6 +194,7 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalIncludeDirectories="C:\src\wanpipe-3.1.0.p21\patches\kdrivers\include"
|
||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
|
@ -31,11 +31,38 @@
|
|||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define WANPIPE_TDM_API 1
|
||||||
|
|
||||||
|
#ifndef __WINDOWS__
|
||||||
|
#if defined(WIN32) || defined(WIN64) || defined(_MSC_VER) || defined(_WIN32)
|
||||||
|
#define __WINDOWS__
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "openzap.h"
|
#include "openzap.h"
|
||||||
#include "zap_wanpipe.h"
|
#include "zap_wanpipe.h"
|
||||||
|
|
||||||
|
#ifdef __WINDOWS__
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
/* 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 */
|
||||||
|
#pragma warning(disable:4200)
|
||||||
|
#endif
|
||||||
|
#include <windows.h>
|
||||||
|
#include <winioctl.h>
|
||||||
|
#include <conio.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
typedef unsigned __int16 u_int16_t;
|
||||||
|
typedef unsigned __int32 u_int32_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <wanpipe_defines.h>
|
#include <wanpipe_defines.h>
|
||||||
#include <wanpipe_cfg.h>
|
#include <wanpipe_cfg.h>
|
||||||
#include <wanpipe_tdm_api.h>
|
#include <wanpipe_tdm_api.h>
|
||||||
|
#ifdef __WINDOWS__
|
||||||
|
#include <sang_status_defines.h>
|
||||||
|
#include <sang_api.h>
|
||||||
|
#endif
|
||||||
#include <sdla_te1_pmc.h>
|
#include <sdla_te1_pmc.h>
|
||||||
#include <sdla_te1.h>
|
#include <sdla_te1.h>
|
||||||
#include <sdla_56k.h>
|
#include <sdla_56k.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user