[Freeswitch-svn] [commit] r13678 - freeswitch/trunk/libs/libnatpmp

FreeSWITCH SVN mikej at freeswitch.org
Mon Jun 8 10:43:50 PDT 2009


Author: mikej
Date: Mon Jun  8 12:43:50 2009
New Revision: 13678

Log:
better soliaris ifdefs

Modified:
   freeswitch/trunk/libs/libnatpmp/getgateway.c

Modified: freeswitch/trunk/libs/libnatpmp/getgateway.c
==============================================================================
--- freeswitch/trunk/libs/libnatpmp/getgateway.c	(original)
+++ freeswitch/trunk/libs/libnatpmp/getgateway.c	Mon Jun  8 12:43:50 2009
@@ -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



More information about the Freeswitch-svn mailing list