From 9a39e26871e1f8ddb7086a53aba0b66a6fa6c7a9 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 24 Jun 2013 22:39:18 -0700 Subject: Require ANSI C89 pre-processor, drop pre-C89 token pasting support Signed-off-by: Alan Coopersmith --- src/XvMClibint.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/XvMClibint.h b/src/XvMClibint.h index 94c24ad..195a77d 100644 --- a/src/XvMClibint.h +++ b/src/XvMClibint.h @@ -10,7 +10,6 @@ XextCheckExtension(dpy, i, xvmc_extension_name, val) -#if !defined(UNIXCPP) #define XvMCGetReq(name, req) \ WORD64ALIGN\ if ((dpy->bufptr + sizeof(xvmc##name##Req)) > dpy->bufmax)\ @@ -21,18 +20,6 @@ req->length = sizeof(xvmc##name##Req)>>2;\ dpy->bufptr += sizeof(xvmc##name##Req);\ dpy->request++ -#else -#define XvMCGetReq(name, req) \ - WORD64ALIGN\ - if ((dpy->bufptr + sizeof(xvmc/**/name/**/Req)) > dpy->bufmax)\ - _XFlush(dpy);\ - req = (xvmc/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\ - req->reqType = info->codes->major_opcode;\ - req->xvmcReqType = xvmc_/**/name;\ - req->length = sizeof(xvmc/**/name/**/Req)>>2;\ - dpy->bufptr += sizeof(xvmc/**/name/**/Req);\ - dpy->request++ -#endif _XFUNCPROTOBEGIN -- cgit v1.2.3