From b53692c73292944337bbba2b941d374e6e7825a3 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 8 Jun 2009 17:43:50 +0000 Subject: [PATCH] better soliaris ifdefs git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13678 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libnatpmp/getgateway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libnatpmp/getgateway.c b/libs/libnatpmp/getgateway.c index b667b04643..e1f5536a50 100644 --- a/libs/libnatpmp/getgateway.c +++ b/libs/libnatpmp/getgateway.c @@ -45,7 +45,7 @@ #define USE_SYSCTL_NET_ROUTE #endif -#if (defined(sun) && defined(__SVR4)) +#if ((defined(sun) || defined(__sun)) && defined(__SVR4)) #undef USE_PROC_NET_ROUTE #define USE_SOCKET_ROUTE #undef USE_SYSCTL_NET_ROUTE