Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/libepoxy/dist/src on NetBSD, don't define PLA...



details:   https://anonhg.NetBSD.org/xsrc/rev/8ae6a1b1db6e
branches:  trunk
changeset: 10268:8ae6a1b1db6e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Apr 18 10:09:37 2019 +0000

description:
on NetBSD, don't define PLATFORM_HAS_EGL if it is already defined

diffstat:

 external/mit/libepoxy/dist/src/dispatch_common.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 30a3a2a7f6f6 -r 8ae6a1b1db6e external/mit/libepoxy/dist/src/dispatch_common.h
--- a/external/mit/libepoxy/dist/src/dispatch_common.h  Tue Apr 16 21:34:44 2019 +0000
+++ b/external/mit/libepoxy/dist/src/dispatch_common.h  Thu Apr 18 10:09:37 2019 +0000
@@ -39,7 +39,7 @@
 #define PLATFORM_HAS_WGL 0
 #define EPOXY_IMPORTEXPORT
 #else
-#ifdef __NetBSD__
+#if defined(__NetBSD__) && !defined(PLATFORM_HAS_EGL)
 # if defined(__amd64__) || defined(__i386__) || defined(__aarch64__) // XXX evbarm32
 #  define PLATFORM_HAS_EGL 1
 # else



Home | Main Index | Thread Index | Old Index