mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
18 lines
640 B
C
18 lines
640 B
C
$NetBSD: patch-libdevice_GnashDevice.h,v 1.1 2016/08/15 12:26:54 richard Exp $
|
|
|
|
Avoid enum name clash with NODEV, unfortunately defined in sys/types.h
|
|
and sys/params.h on solaris.
|
|
|
|
--- libdevice/GnashDevice.h.orig 2012-01-19 19:17:48.000000000 +0000
|
|
+++ libdevice/GnashDevice.h
|
|
@@ -45,6 +45,9 @@ struct GnashDevice
|
|
/// The list of supported renders that use devices
|
|
typedef enum {OPENVG, OPENGL, OPENGLES1, OPENGLES2, XORG, VAAPI} rtype_t;
|
|
/// The list of supported device types
|
|
+#ifdef NODEV
|
|
+#undef NODEV
|
|
+#endif
|
|
typedef enum {NODEV, EGL, DIRECTFB, X11, RAWFB} dtype_t;
|
|
|
|
GnashDevice(int argc, char *argv[]);
|