Module Name:    xsrc
Committed By:   tsutsui
Date:           Mon Sep 26 14:38:59 UTC 2011

Modified Files:
        xsrc/external/mit/xf86-input-ws/dist/src: ws.c

Log Message:
Use #ifndef __NetBSD__ instead of #if 0 which were added in rev 1.5:
> port to netbsd wscons


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 xsrc/external/mit/xf86-input-ws/dist/src/ws.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-input-ws/dist/src/ws.c
diff -u xsrc/external/mit/xf86-input-ws/dist/src/ws.c:1.5 xsrc/external/mit/xf86-input-ws/dist/src/ws.c:1.6
--- xsrc/external/mit/xf86-input-ws/dist/src/ws.c:1.5	Tue Aug  2 09:33:33 2011
+++ xsrc/external/mit/xf86-input-ws/dist/src/ws.c	Mon Sep 26 14:38:59 2011
@@ -892,7 +892,7 @@ wsSetProperty(DeviceIntPtr device, Atom 
 		priv->coords.maxx = priv->max_x;
 		priv->coords.miny = priv->min_y;
 		priv->coords.maxy = priv->max_y;
-#if 0
+#ifndef __NetBSD__
 		priv->coords.swapxy = priv->swap_axes;
 #endif
 
@@ -901,11 +901,11 @@ wsSetProperty(DeviceIntPtr device, Atom 
 		coords.maxx = priv->max_x;
 		coords.miny = priv->min_y;
 		coords.maxy = priv->max_y;
-#if 0
+#ifndef __NetBSD__
 		coords.swapxy = priv->swap_axes;
 #endif
 		coords.samplelen = priv->raw;
-#if 0
+#ifndef __NetBSD__
 		coords.resx = priv->coords.resx;
 		coords.resy = priv->coords.resy;
 #endif

Reply via email to