[svn-commits] seanbright: trunk r199857 - in /trunk: ./ include/asterisk/utils.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 10 11:10:27 CDT 2009


Author: seanbright
Date: Wed Jun 10 11:10:23 2009
New Revision: 199857

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=199857
Log:
Merged revisions 199856 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r199856 | seanbright | 2009-06-10 12:08:35 -0400 (Wed, 10 Jun 2009) | 2 lines
  
  __WORDSIZE is not available on all platforms, so use sizeof(void *) instead.
........

Modified:
    trunk/   (props changed)
    trunk/include/asterisk/utils.h

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/include/asterisk/utils.h
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/include/asterisk/utils.h?view=diff&rev=199857&r1=199856&r2=199857
==============================================================================
--- trunk/include/asterisk/utils.h (original)
+++ trunk/include/asterisk/utils.h Wed Jun 10 11:10:23 2009
@@ -350,10 +350,10 @@
  * Thread management support (should be moved to lock.h or a different header)
  */
 
-#define AST_STACKSIZE (((__WORDSIZE * 8) - 16) * 1024)
+#define AST_STACKSIZE (((sizeof(void *) * 8 * 8) - 16) * 1024)
 
 #if defined(LOW_MEMORY)
-#define AST_BACKGROUND_STACKSIZE (((__WORDSIZE * 2) - 16) * 1024)
+#define AST_BACKGROUND_STACKSIZE (((sizeof(void *) * 8 * 2) - 16) * 1024)
 #else
 #define AST_BACKGROUND_STACKSIZE AST_STACKSIZE
 #endif




More information about the svn-commits mailing list