[PATCH] xtestext conditional compile fix

Daniel Stone daniel at freedesktop.org
Thu May 18 00:39:22 PDT 2006


On Wed, May 17, 2006 at 05:54:14PM +0200, Enrico Weigelt wrote:
> diff -ruN xorg-server-1.0.99.902.orig/Xext/xtest1dd.c xorg-server-1.0.99.902/Xext/xtest1dd.c
> --- xorg-server-1.0.99.902.orig/Xext/xtest1dd.c	Mon May 15 11:31:29 2006
> +++ xorg-server-1.0.99.902/Xext/xtest1dd.c	Tue May 16 17:15:06 2006
> @@ -77,6 +77,9 @@
>  
>  #include "xtest1dd.h"
>  
> +#ifdef XTESTEXT1
> [...]
> +#endif
> 
> diff -ruN xorg-server-1.0.99.902.orig/Xext/xtest1di.c xorg-server-1.0.99.902/Xext/xtest1di.c
> --- xorg-server-1.0.99.902.orig/Xext/xtest1di.c	Mon May 15 11:31:29 2006
> +++ xorg-server-1.0.99.902/Xext/xtest1di.c	Tue May 16 17:20:22 2006
> @@ -125,6 +125,8 @@
>   * function declarations
>   ****************************************************************************/
>  
> +#ifdef XTESTEXT1
> [...]
> +#endif

No.

Remember your last raft of patches, when I told you to use
AM_CONDITIONALs to determine whether or not to compile the file, rather
than #ifdef'ing out the entire file?  Not to mention the glaring syntax
error if XTESTEXT1 is true.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.x.org/archives/xorg-modular/attachments/20060518/0cf2e4c5/attachment.pgp


More information about the xorg-modular mailing list