Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xf86-video-nouveau/dist/src Use _XTYPEDEF_POI...
details: https://anonhg.NetBSD.org/xsrc/rev/5f0dd7dccc1d
branches: trunk
changeset: 10096:5f0dd7dccc1d
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 25 15:53:09 2019 +0000
description:
Use _XTYPEDEF_POINTER directly to determine if the typedef is available.
diffstat:
external/mit/xf86-video-nouveau/dist/src/nv_proto.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r a54898489d73 -r 5f0dd7dccc1d external/mit/xf86-video-nouveau/dist/src/nv_proto.h
--- a/external/mit/xf86-video-nouveau/dist/src/nv_proto.h Wed Jan 23 16:57:01 2019 +0000
+++ b/external/mit/xf86-video-nouveau/dist/src/nv_proto.h Fri Jan 25 15:53:09 2019 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index