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 &);
_______________________________________________ Enigma-devel mailing list Enigma-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/enigma-devel