Hi All, I just built Enigma 0.92 on OS/2 using GCC 3.3.5
The only changes to source that were required were to add OS2 to the list of *nix style operating systems in ./lib-src/zipios++/src/directory.*
Patch is attached - would be good to see this change included in cvs. Cheers, Paul.
diff -u original/directory.cpp patched/directory.cpp --- original/directory.cpp Wed Aug 18 15:03:44 2004 +++ patched/directory.cpp Wed Oct 12 21:07:06 2005 @@ -24,7 +24,7 @@ #include "directory.h" -#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__) +#if defined(unix) || defined(__unix) || defined(OS2) || defined(__unix__) || defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__) # define BOOST_UNIX 1 #elif defined(_WINDOWS) || defined(__MINGW32__) # define BOOST_WINNT 1 diff -u original/directory.h patched/directory.h --- original/directory.h Wed Aug 18 15:03:44 2004 +++ patched/directory.h Thu Oct 13 03:21:54 2005 @@ -48,7 +48,7 @@ #endif // end of contents of boost.h -#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__) +#if defined(unix) || defined(__unix) || defined(__unix__) || defined(OS2) || defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__) #include <sys/types.h> #endif @@ -232,7 +232,7 @@ #endif -#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__) +#if defined(unix) || defined(__unix) || defined(__unix__) || defined(OS2) || defined(MACOSX) || 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