summaryrefslogtreecommitdiff
path: root/src/XvMClibint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/XvMClibint.h')
-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