patches to compile on Solaris

Michael Ritzert kde at
Thu Mar 24 23:07:10 GMT 2005

On Thu, Mar 24, 2005 at 11:55:39PM +0100, Dirk Mueller wrote:
> On Thursday 24 March 2005 23:42, Michael Ritzert wrote:
> > Or is the preferred way to use
> > #ifdef s_addr
> > #  undef s_addr
> > #endif
> > ?
> thats usually the preferred way, but in this case renaming to s_address even 
> increases the readability, so I would prefer the rename. 

Ok. I just checked in the patch renaming s_addr to s_address. I will
chose the #undef style when there is no increase in readability to be
obtained from a renaming.
Any preferences on where to place the #undef block? In front of the
function that needs it or at the beginning of the file?


More information about the kde-core-devel mailing list