Hi all,
These changes made guile CVS build for me on Mac OS X. Non-scientific
testing (ran some of my programs) seems to show that it's working.
I'd appreciate it if this, or something like it, could get applied.
BTW, on 12/30 I submitted a patch to bug-guile for a problem with
ice-9/q.scm
Richard Todd [EMAIL PROTECTED] writes:
+#ifdef __APPLE__
+#define SCM_MUTEX_MAXSIZE (12 * sizeof (long))
Hmm, I guess if that's what it takes.
For reference, how many bytes is the underlying actual mutex?
+#else
#define SCM_MUTEX_MAXSIZE (9 * sizeof (long))
+#endif
No, I think it should
On Wed, Jan 07, 2004 at 09:02:19AM +1000, Kevin Ryde wrote:
Richard Todd [EMAIL PROTECTED] writes:
+#ifdef __APPLE__
+#define SCM_MUTEX_MAXSIZE (12 * sizeof (long))
Hmm, I guess if that's what it takes.
For reference, how many bytes is the underlying actual mutex?
Both normal and
On Wed, Jan 07, 2004 at 08:00:28AM +1000, Kevin Ryde wrote:
Richard Todd [EMAIL PROTECTED] writes:
+#if defined(__APPLE__) defined(__DYNAMIC__)
+#includecrt_externs.h
+static char ** environ;
+#else
extern char ** environ;
+#endif
#ifdef HAVE_GRP_H
#include grp.h
@@
Richard Todd [EMAIL PROTECTED] writes:
Both normal and recursive mutexes are showing up as 44 bytes.
Thanks, I increased it.
I thought you might prefer that, but I was trying to make the smallest changes
to other architectures as possible, and let you make that call.
Yes, ... and no :-).
Richard Todd [EMAIL PROTECTED] writes:
+#if defined(__APPLE__) defined(__DYNAMIC__)
+#includecrt_externs.h
+static char ** environ;
+#else
extern char ** environ;
+#endif
#ifdef HAVE_GRP_H
#include grp.h
@@ -1735,6 +1740,10 @@
void
scm_init_posix ()
{
+#if
Richard Todd [EMAIL PROTECTED] writes:
Here's a KDE project that tried to be cleaner by defining:
#define environ (*_NSGetEnviron())
http://cvs.sourceforge.net/viewcvs.py/kcvdphoto/kimg2mpg/aclocal.m4?rev=1.4
(still have to #ifdef out the extern declaration, though...)
That sounds cleanest.
On Wed, Jan 07, 2004 at 09:30:41AM +1000, Kevin Ryde wrote:
Richard Todd [EMAIL PROTECTED] writes:
Here's a KDE project that tried to be cleaner by defining:
#define environ (*_NSGetEnviron())
http://cvs.sourceforge.net/viewcvs.py/kcvdphoto/kimg2mpg/aclocal.m4?rev=1.4
(still have to
Richard Todd [EMAIL PROTECTED] writes:
Would you like another patch for the environ stuff, or would you
rather commit something with the information you have and let me test it?
If you have copyright papers on file we can accept a patch, otherwise
I'll look into it at some stage.
I'm