|
From: | Andreas Vögele |
Subject: | stack base on Mac OS X |
Date: | Mon, 24 May 2004 14:37:11 +0200 |
Hans Boehm's garbage collector now also uses __APPLE__ and __MACH__ and Apple's documentation says "To define a section of code to be compiled on Mac OS X system you should define a section using __APPLE__ with __MACH__ macros.". See http://developer.apple.com/technotes/tn2002/tn2071.html#Section10 for details.
The attached patch updates the preprocessor directives in gc_os_dep.c. The patch also separates the definition of the variable result in scm_get_stack_base() from the variable initialisation. If the definition and the initialisation are not separated GCC 3.3 complains about an unused variable on Mac OS X and HP-UX.
gc_os_dep.c.diff.c
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |