summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-06-22 20:33:13 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-05 21:14:56 -0700
commitef2722e10b275d13d754d2b92e67f72b0716d070 (patch)
treedf50ef9d16fe8f98553f28bdb7194c9571c4cb25
parente73a2199f039e9ae772efb6be8d1db68eb346fa4 (diff)
Require ANSI C89 pre-processor, drop pre-C89 token pasting support
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
-rw-r--r--src/Xvlibint.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/Xvlibint.h b/src/Xvlibint.h
index 1fdf748..af46605 100644
--- a/src/Xvlibint.h
+++ b/src/Xvlibint.h
@@ -44,7 +44,6 @@ SOFTWARE.
#include <X11/extensions/Xvproto.h>
#include <X11/extensions/Xvlib.h>
-#if !defined(UNIXCPP)
#define XvGetReq(name, req) \
WORD64ALIGN \
if ((dpy->bufptr + SIZEOF(xv##name##Req)) > dpy->bufmax) \
@@ -56,18 +55,4 @@ SOFTWARE.
dpy->bufptr += SIZEOF(xv##name##Req); \
dpy->request++
-#else /* non-ANSI C uses empty comment instead of "##" for token concatenation */
-#define XvGetReq(name, req) \
- WORD64ALIGN \
- if ((dpy->bufptr + SIZEOF(xv/**/name/**/Req)) > dpy->bufmax) \
- _XFlush(dpy); \
- req = (xv/**/name/**/Req *)(dpy->last_req = dpy->bufptr); \
- req->reqType = info->codes->major_opcode; \
- req->xvReqType = xv_/**/name; \
- req->length = (SIZEOF(xv/**/name/**/Req)) >> 2; \
- dpy->bufptr += SIZEOF(xv/**/name/**/Req); \
- dpy->request++
-#endif
-
-
#endif /* XVLIBINT_H */