[dahdi-commits] fjoe: freebsd/trunk r9113 -	/freebsd/trunk/include/dahdi/compat/bsd.h
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Sun Aug  8 03:54:13 CDT 2010
    
    
  
Author: fjoe
Date: Sun Aug  8 03:54:10 2010
New Revision: 9113
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9113
Log:
Fix build on FreeBSD 7.x
Modified:
    freebsd/trunk/include/dahdi/compat/bsd.h
Modified: freebsd/trunk/include/dahdi/compat/bsd.h
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/include/dahdi/compat/bsd.h?view=diff&rev=9113&r1=9112&r2=9113
==============================================================================
--- freebsd/trunk/include/dahdi/compat/bsd.h (original)
+++ freebsd/trunk/include/dahdi/compat/bsd.h Sun Aug  8 03:54:10 2010
@@ -151,6 +151,10 @@
  */
 typedef struct sx rwlock_t;
 
+#if defined(SX_ADAPTIVESPIN) && !defined(SX_NOADAPTIVE)
+#define SX_NOADAPTIVE SX_ADAPTIVESPIN
+#endif
+
 #define DEFINE_RWLOCK(name)				\
 	struct sx name;					\
 	SX_SYSINIT(name, &name, #name)
    
    
More information about the dahdi-commits
mailing list