[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Porting KDE 2 (1.90) to other Unixes ...
From:       Thomas Leitner <tom () radar ! tu-graz ! ac ! at>
Date:       2000-05-11 6:23:24
[Download RAW message or body]


On Thu, 11 May 2000, Michael Koch wrote:

> > However, "setenv" was only an example. I've stumbled accross many
> > similar problems which could be solved easily without modifying the
> > source files when I had kind of an "os.h" include file which would
> > be included in each and every source file. 
> > 
> > Any ideas?
> 
> I think we need a header file for kdelibs/kdecore/fakes.cpp. this can be
> included in such cases then. But it should only be included if one plaftform
> has problems with a file not in everyone.

Sounds like a good idea. So I would have to include "fakes.h" (or similar)
only in the source files which I have troubles with.

BTW: I've just solved the particular problem with setenv. "setenv" *is*
defined somewhere in the Tru64 libraries, so the "configure" program
picks it up and defines HAVE_SETENV in config.h. However the prototype
in the GCC stdlib.h is only declared if AES_SOURCE is defined. I'm
now recompiling with AES_SOURCE (whatever this means) defined.

Tom

-- 
--------------------------------------------------------------------------
Dr. Tom Leitner                             Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic