summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-28 20:04:25 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-03 18:20:10 -0800
commit9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 (patch)
tree1c1459bf27d0022feea6f86f7eae0e211de8d048 /include
parentb687440c28c7da6ee0ae44514d20248db5161606 (diff)
unifdef MUSTCOPY
MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for CRAY, to handle missing some sizes of integer type. (mostly performed with unifdef, followed by some manual cleanup of spacing/indenting in the remaining code) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/X11/Xlibint.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/X11/Xlibint.h b/include/X11/Xlibint.h
index c2232de6..5a7c0ed3 100644
--- a/include/X11/Xlibint.h
+++ b/include/X11/Xlibint.h
@@ -701,19 +701,10 @@ extern void _XRead32(
}
-#ifdef MUSTCOPY
-
-/* for when 32-bit alignment is not good enough */
-#define OneDataCard32(dpy,dstaddr,srcvar) \
- { dpy->bufptr -= 4; Data32 (dpy, (char *) &(srcvar), 4); }
-
-#else
-
/* srcvar must be a variable for large architecture version */
#define OneDataCard32(dpy,dstaddr,srcvar) \
{ *(CARD32 *)(dstaddr) = (srcvar); }
-#endif /* MUSTCOPY */
typedef struct _XInternalAsync {
struct _XInternalAsync *next;