Revision: 344 http://svn.sourceforge.net/rpy/?rev=344&view=rev Author: warnes Date: 2007-03-24 14:40:01 -0700 (Sat, 24 Mar 2007)
Log Message: ----------- R_CStackLimit is only present on Unix-like systems, so omit it on Win32. Modified Paths: -------------- trunk/rpy/src/rpymodule.c Modified: trunk/rpy/src/rpymodule.c =================================================================== --- trunk/rpy/src/rpymodule.c 2007-03-12 22:50:59 UTC (rev 343) +++ trunk/rpy/src/rpymodule.c 2007-03-24 21:40:01 UTC (rev 344) @@ -1756,8 +1756,14 @@ Rf_initEmbeddedR( sizeof(defaultargv) / sizeof(defaultargv[0]), defaultargv); #endif - R_CStackLimit = (uintptr_t)-1; + +#ifndef _WIN32 + /* Disable C stack checking, which is incompatible with use as a + shared library. */ + R_CStackLimit = (uintptr_t)-1; +#endif + /* Restore Python handlers */ PyOS_setsig(SIGINT, old_int); #ifndef _WIN32 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list