On Saturday, Mar 8, 2003, at 23:24 US/Mountain, James A Baker wrote:



File 5, and the final problem I had, was ./pcp/intl/libgnuintl.h which needed to have the following lines inserted at line 91:


        #ifdef __APPLE__
        # define _INTL_REDIRECT_MACROS 1
        #endif

(I'm not sure __APPLE__ is the *best* thing to test for, but it *should* be unique enough... I think. Anyway, I figured __ppc__ was probably too general, in case someone used Linux-PPC or some such, which probably defines the same thing. But if you know of a more appropriate test, feel free to try using it instead. I'd be happy to test it by re-compiling. -- And again, if you want a patch file, I can make one.)


I went and searched through the system headers to see what Apple is using. I found the following things


#if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__))

#if defined(MACOSX)

#if defined(DARWIN)

(as of 10.2.x, OS X uses gcc3 by default, I think).

I would choose the DARWIN one as DARWIN will most likely have the same problems and Mac OS X is Darwin with the GUI on top.

Chad



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to