SCM

SCM Repository

[matrix] Diff of /pkg/src/Mutils.h
ViewVC logotype

Diff of /pkg/src/Mutils.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2260, Wed Sep 10 16:31:10 2008 UTC revision 2298, Fri Oct 17 13:45:12 2008 UTC
# Line 20  Line 20 
20  #ifdef __GNUC__  #ifdef __GNUC__
21  # undef alloca  # undef alloca
22  # define alloca(x) __builtin_alloca((x))  # define alloca(x) __builtin_alloca((x))
23  #else  #elif defined(__sun) || defined(_AIX)
24  /* this is necessary (and sufficient) for Solaris 10: */  /* this is necessary (and sufficient) for Solaris 10 and AIX 6: */
 #ifdef __sun  
25  # include <alloca.h>  # include <alloca.h>
26  #endif  #endif
 #endif  
27    
28  #define Alloca(n, t)   (t *) alloca( (size_t) ( (n) * sizeof(t) ) )  #define Alloca(n, t)   (t *) alloca( (size_t) ( (n) * sizeof(t) ) )
29    

Legend:
Removed from v.2260  
changed lines
  Added in v.2298

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge