summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/ip_helper_win32.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-03-28 15:49:48 +0000
committerBenny Prijono <bennylp@teluu.com>2007-03-28 15:49:48 +0000
commitb461f076273b3bf78c5f889515cc7541e9d3b701 (patch)
tree1eb57d0d03bc90a07b246e417b0b099cc78ca4ca /pjlib/src/pj/ip_helper_win32.c
parent047dad8b9f0e7ef5c92ce4e750bcfbb20d4c4796 (diff)
Updated projects and Makefiles with the new pjnath library
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1111 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/ip_helper_win32.c')
-rw-r--r--pjlib/src/pj/ip_helper_win32.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pjlib/src/pj/ip_helper_win32.c b/pjlib/src/pj/ip_helper_win32.c
index 1dcff23d..b690e4f9 100644
--- a/pjlib/src/pj/ip_helper_win32.c
+++ b/pjlib/src/pj/ip_helper_win32.c
@@ -16,12 +16,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <pj/config.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
-/* PMIB_ICMP_EX is not declared in VC6, causing error */
-#if defined(_MSC_VER) && _MSC_VER < 1400
+/* PMIB_ICMP_EX is not declared in VC6, causing error.
+ * But EVC4, which also claims to be VC6, does have it!
+ */
+#if defined(_MSC_VER) && _MSC_VER==1200 && !defined(PJ_WIN32_WINCE)
# define PMIB_ICMP_EX void*
#endif
#include <Iphlpapi.h>