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

List:       kde-devel
Subject:    Re: bug 704:
From:       David Faure <David.Faure () insa-lyon ! fr>
Date:       1999-02-27 9:45:13
[Download RAW message or body]

On Sat, Feb 27, 1999 at 09:44:48AM +0100, David Faure wrote:
> On Fri, Feb 26, 1999 at 05:15:25PM -0800, Alex Zepeda wrote:
> > On Sat, 27 Feb 1999, David Faure wrote:
> > 
> > > Impossible, the define is in /usr/include/paths.h and this file gets
> > > included by several .cpp files, all over the KDE.
> > 
> > So redefine it in config.h?  Or perhaps kpaths.h?  My preprocessor
> > knoweledge is lacking, but can't you expand a define?
> > 
> > Something like
> > 
> > #define PATH_TMP ##PATH_TMP##/
> Something like that (perhaps no ## before)

Hum, on second thought : this would NOT work.
config.h is always included first, and has to.
paths.h is included after, and would set PATH_TMP back to /tmp (without
trailing slash).

-- 
 ____________________________________________________________________
|                                                                    |
|  David FAURE                                                       |
|  E-mail : David.Faure@insa-lyon.fr, faure@kde.org                  |
|  http://www.insa-lyon.fr/People/AEDI/dfaure/index.html             |
|____________________________________________________________________|

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

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