From 68af3b3427320b3c63d1662f599a203104dd6b83 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 19 Jul 2008 18:05:04 +0000 Subject: Fixed build error with some Mingw configuration related to socklen_t git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2160 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/compat/os_auto.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjlib/include/pj') diff --git a/pjlib/include/pj/compat/os_auto.h.in b/pjlib/include/pj/compat/os_auto.h.in index 6ce05d43..c963179d 100644 --- a/pjlib/include/pj/compat/os_auto.h.in +++ b/pjlib/include/pj/compat/os_auto.h.in @@ -103,7 +103,7 @@ /* Does the OS have socklen_t? */ #undef PJ_HAS_SOCKLEN_T -#if !defined(PJ_HAS_SOCKLEN_T) || PJ_HAS_SOCKLEN_T==0 +#if !defined(socklen_t) && (!defined(PJ_HAS_SOCKLEN_T) || PJ_HAS_SOCKLEN_T==0) # define PJ_HAS_SOCKLEN_T 1 typedef int socklen_t; #endif -- cgit v1.2.3