From kde-solaris Tue Aug 24 09:39:37 2004 From: Christopher Layne Date: Tue, 24 Aug 2004 09:39:37 +0000 To: kde-solaris Subject: Re: [kde-solaris] KDE 3.3 kcontrol / info / memory compile problem Message-Id: <20040824093937.GI15978 () ns1 ! anodized ! com> X-MARC-Message: https://marc.info/?l=kde-solaris&m=109334039527305 On Mon, Aug 23, 2004 at 02:49:21PM -0700, Aaron Williams wrote: > I don't know if it works or not, but at least it compiles with GCC 3.4.1 > on Solaris 2.8 > > --- memory_solaris.cpp.orig 2004-08-23 14:44:29.820000000 -0700 > +++ memory_solaris.cpp 2004-08-23 14:46:20.780000000 -0700 > @@ -8,8 +8,17 @@ > #include > #include > #include > -#include > - > +#ifdef USE_SOLARIS > +# if _FILE_OFFSET_BITS==64 > +# undef _FILE_OFFSET_BITS > +# include > +# define _FILE_OFFSET_BITS 64 > +# else > +# include > +# endif > +#else > +# include > +#endif > #define PAGETOK(a) (( (t_memsize) sysconf( _SC_PAGESIZE )) * > (t_memsize) a) Yes, that is the patch I submitted. However, it is still kind of a hack, in general. -cl ___________________________________________________ This message is from the kde-solaris mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-solaris. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.