aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/PutImage.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-06-24 23:02:05 -0700
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:27 +0200
commit88edf80838c182ec5a533e2ffec429747b128355 (patch)
tree2513939e17ae6e34f0ef9cba34cbe3015f02dfde /nx-X11/lib/X11/PutImage.c
parent7f98ab03b47ca980bf656ca6083d74c5b4546da9 (diff)
downloadnx-libs-88edf80838c182ec5a533e2ffec429747b128355.tar.gz
nx-libs-88edf80838c182ec5a533e2ffec429747b128355.tar.bz2
nx-libs-88edf80838c182ec5a533e2ffec429747b128355.zip
Require ANSI C89 pre-processor, drop pre-C89 token pasting support
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/PutImage.c')
-rw-r--r--nx-X11/lib/X11/PutImage.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/nx-X11/lib/X11/PutImage.c b/nx-X11/lib/X11/PutImage.c
index 2a694f099..934fabe0f 100644
--- a/nx-X11/lib/X11/PutImage.c
+++ b/nx-X11/lib/X11/PutImage.c
@@ -600,15 +600,9 @@ static int const HalfOrderWord[12] = {
/* Cancel a GetReq operation, before doing _XSend or Data */
-#if (defined(__STDC__) && !defined(UNIXCPP)) || defined(ANSICPP)
#define UnGetReq(name)\
dpy->bufptr -= SIZEOF(x##name##Req);\
dpy->request--
-#else
-#define UnGetReq(name)\
- dpy->bufptr -= SIZEOF(x/**/name/**/Req);\
- dpy->request--
-#endif
static void
SendXYImage(