[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Enigma-devel] configure.ac SDL_ttf magic
From: |
Sidney Markowitz |
Subject: |
Re: [Enigma-devel] configure.ac SDL_ttf magic |
Date: |
Mon, 01 May 2006 02:17:23 +1200 |
User-agent: |
Thunderbird 1.5 (X11/20060313) |
Johannes Fortmann wrote:
> Anyway, with these changes, everything works for me.
lib-src/zipios++/src/directory.h contains three instances of MACOSX that have
to be changed to __MACH__ just like you did in directory.cpp. I guess your
version of gcc defines MACOSX, hiding the build problem that I get.
I have attached the patch for that file.
-- sidney
Index: lib-src/zipios++/src/directory.h
===================================================================
--- lib-src/zipios++/src/directory.h (revision 136)
+++ lib-src/zipios++/src/directory.h (working copy)
@@ -35,7 +35,7 @@
// #include <boost.h> Contents of boost.h
// Allow control over DLL version being built
-#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX)
|| defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__)
+#if defined(unix) || defined(__unix) || defined(__unix__) || defined(__MACH__)
|| defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__)
# define BOOST_DECL
#elif defined(ZIPIOS_DLL)
# ifdef ZIPIOS_EXPORTS
@@ -48,7 +48,7 @@
#endif
// end of contents of boost.h
-#if defined(unix) || defined(__unix) || defined(__unix__) || defined(OS2) ||
defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined
(__OpenBSD__)
+#if defined(unix) || defined(__unix) || defined(__unix__) || defined(OS2) ||
defined(__MACH__) || defined(__NetBSD__) || defined (__FreeBSD__) || defined
(__OpenBSD__)
#include <sys/types.h>
#endif
@@ -232,7 +232,7 @@
#endif
-#if defined(unix) || defined(__unix) || defined(__unix__) || defined(OS2) ||
defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined
(__OpenBSD__)
+#if defined(unix) || defined(__unix) || defined(__unix__) || defined(OS2) ||
defined(__MACH__) || defined(__NetBSD__) || defined (__FreeBSD__) || defined
(__OpenBSD__)
struct is_link { typedef bool value_type; };
template <> bool get<is_link>(dir_it const &);