summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-06-24 22:39:18 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-06-24 22:39:18 -0700
commit9a39e26871e1f8ddb7086a53aba0b66a6fa6c7a9 (patch)
treea1710e2533a01554a1ec562e3b26f7613125b9ca /src
parent1fb06ecf88155452ece93ac309435106f9569d54 (diff)
Require ANSI C89 pre-processor, drop pre-C89 token pasting support
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/XvMClibint.h13
1 files changed, 0 insertions, 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