diff options
-rw-r--r-- | src/XERqsts.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/XERqsts.c b/src/XERqsts.c index 6fd6be0..a64a6c7 100644 --- a/src/XERqsts.c +++ b/src/XERqsts.c @@ -35,7 +35,6 @@ SOFTWARE. #include <X11/Xproto.h> #endif /* NO_DEC_BUG_FIX */ /* the following's a hack to support V3.1 protocol */ -#if defined(__STDC__) && !defined(UNIXCPP) #define GetOldReq(name, req, old_length) \ WORD64ALIGN\ if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\ @@ -46,18 +45,6 @@ SOFTWARE. dpy->bufptr += old_length;\ dpy->request++ -#else /* non-ANSI C uses empty comment instead of "##" for token concat */ -#define GetOldReq(name, req, old_length) \ - WORD64ALIGN\ - if ((dpy->bufptr + SIZEOF(x/**/name/**/Req)) > dpy->bufmax)\ - _XFlush(dpy);\ - req = (x/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\ - req->reqType = X_/**/name;\ - req->length = old_length>>2;\ - dpy->bufptr += old_length;\ - dpy->request++ -#endif - #include <X11/Xlibint.h> #include <X11/extensions/xtraplib.h> |