[zaptel-commits] tzafrir: branch 1.2 r4367 - /branches/1.2/xpp/xdefs.h

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Sat Jun 28 02:24:48 CDT 2008


Author: tzafrir
Date: Sat Jun 28 02:24:46 2008
New Revision: 4367

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4367
Log:
Fixes building with the kernel of RHEL 5.2. Closes issue #12889 .

Modified:
    branches/1.2/xpp/xdefs.h

Modified: branches/1.2/xpp/xdefs.h
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/xdefs.h?view=diff&rev=4367&r1=4366&r2=4367
==============================================================================
--- branches/1.2/xpp/xdefs.h (original)
+++ branches/1.2/xpp/xdefs.h Sat Jun 28 02:24:46 2008
@@ -114,7 +114,12 @@
 				} while(0);
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
+/* Also don't define this for later RHEL >= 5.2 . hex_asc is from the 
+ * same linux-2.6-net-infrastructure-updates-to-mac80211-iwl4965.patch
+ * as is the bool typedef. */
+#if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,18)  || !  defined(hex_asc)
 typedef int			bool;
+#endif
 #endif
 #else
 typedef int			bool;




More information about the zaptel-commits mailing list