[asterisk-commits] tilghman: branch 1.8 r294605 - /branches/1.8/pbx/pbx_spool.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 10 17:26:52 CST 2010


Author: tilghman
Date: Wed Nov 10 17:26:39 2010
New Revision: 294605

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=294605
Log:
Fixing the Mac OS X build (bamboo warning)

Modified:
    branches/1.8/pbx/pbx_spool.c

Modified: branches/1.8/pbx/pbx_spool.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/pbx/pbx_spool.c?view=diff&rev=294605&r1=294604&r2=294605
==============================================================================
--- branches/1.8/pbx/pbx_spool.c (original)
+++ branches/1.8/pbx/pbx_spool.c Wed Nov 10 17:26:39 2010
@@ -456,8 +456,11 @@
 };
 
 static AST_LIST_HEAD_STATIC(dirlist, direntry);
+
+#if defined(HAVE_INOTIFY)
 /* Only one thread is accessing this list, so no lock is necessary */
 static AST_LIST_HEAD_NOLOCK_STATIC(createlist, direntry);
+#endif
 
 static void queue_file(const char *filename, time_t when)
 {




More information about the asterisk-commits mailing list