|
From: Gene S. <gs...@ab...> - 2002-01-30 02:43:05
|
"Wesley W. Terpstra" wrote: > I ported libst to Darwin (MacOS X) yesterday (wanted my application to run > on it). Here's the patch. > This is very cool! I wonder if DARWIN can be combined with OPENBSD in md.h. Something like that: #elif defined (OPENBSD) || defined (DARWIN) .... #if defined(__i386__) #define MD_JB_SP 2 #elif defined(__alpha__) #define MD_JB_SP 34 #elif defined(__ppc__) #define MD_JB_SP 0 #else #error Unknown CPU architecture #endif Unfortunately, I don't have OpenBSD on PPC to test it. |