[PATCH xrdb] predefined cpp macros can produce unexpected results (bug 3413)

Alan Coopersmith alan.coopersmith at oracle.com
Mon Dec 6 00:38:53 PST 2010


Matthieu Herrb wrote:
> You loose, but iirc Solaris or other cpp I know of don't pre-define
> any macro. 

They do - it's always fun explaining to people why they get "Welcome to 1"
on the xdm login screen when they name their host "sun" or similar variants.

On the other hand, some people do want to put things such as #ifdef linux,
#ifdef sun, etc. in their ~/.Xresources.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list