From 8cc4f40ab4006633e8fce3089875dd87a852c9cc Mon Sep 17 00:00:00 2001 From: paulc Date: Mon, 23 Jul 2007 02:28:26 +0000 Subject: [PATCH] Fixed handling of NEW_ZAPTEL_LOCATION git-svn-id: http://yate.null.ro/svn/yate/trunk@1404 acf43c95-373e-0410-b603-e72c3f656dc1 --- modules/zapcard.cpp | 6 ++++-- modules/zapchan.cpp | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/zapcard.cpp b/modules/zapcard.cpp index 2aad0f25..cf499a10 100644 --- a/modules/zapcard.cpp +++ b/modules/zapcard.cpp @@ -30,10 +30,12 @@ #else extern "C" { - +#ifdef NEW_ZAPTEL_LOCATION #define __LINUX__ #include - +#else +#include +#endif }; #include diff --git a/modules/zapchan.cpp b/modules/zapchan.cpp index e2c548b7..2d35afb0 100644 --- a/modules/zapchan.cpp +++ b/modules/zapchan.cpp @@ -30,6 +30,7 @@ extern "C" { #ifdef NEW_ZAPTEL_LOCATION +#define __LINUX__ #include #else #include