Module Name: xsrc
Committed By: christos
Date: Fri Jan 25 15:53:09 UTC 2019
Modified Files:
xsrc/external/mit/xf86-video-nouveau/dist/src: nv_proto.h
Log Message:
Use _XTYPEDEF_POINTER directly to determine if the typedef is available.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
xsrc/external/mit/xf86-video-nouveau/dist/src/nv_proto.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-video-nouveau/dist/src/nv_proto.h
diff -u xsrc/external/mit/xf86-video-nouveau/dist/src/nv_proto.h:1.3 xsrc/external/mit/xf86-video-nouveau/dist/src/nv_proto.h:1.4
--- xsrc/external/mit/xf86-video-nouveau/dist/src/nv_proto.h:1.3 Mon Dec 31 17:17:20 2018
+++ xsrc/external/mit/xf86-video-nouveau/dist/src/nv_proto.h Fri Jan 25 10:53:09 2019
@@ -2,9 +2,8 @@
#define __NV_PROTO_H__
/* not defined in Xdefs.h for xorg-server 1.20. */
-#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
+#ifndef _XTYPEDEF_POINTER
typedef void * pointer;
-#undef _XTYPEDEF_POINTER
#define _XTYPEDEF_POINTER
#endif