Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/libepoxy/src fix lint build
details: https://anonhg.NetBSD.org/xsrc/rev/bcb07c3efa1a
branches: trunk
changeset: 10619:bcb07c3efa1a
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 04 22:46:20 2020 +0000
description:
fix lint build
diffstat:
external/mit/libepoxy/src/egl_generated_dispatch.c | 2 +-
external/mit/libepoxy/src/gl_generated_dispatch.c | 2 +-
external/mit/libepoxy/src/glx_generated_dispatch.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r c81718588245 -r bcb07c3efa1a external/mit/libepoxy/src/egl_generated_dispatch.c
--- a/external/mit/libepoxy/src/egl_generated_dispatch.c Wed Nov 04 17:16:13 2020 +0000
+++ b/external/mit/libepoxy/src/egl_generated_dispatch.c Wed Nov 04 22:46:20 2020 +0000
@@ -11,7 +11,7 @@
#include "dispatch_common.h"
#include "epoxy/egl.h"
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__lint__)
#define EPOXY_NOINLINE __attribute__((noinline))
#elif defined (_MSC_VER)
#define EPOXY_NOINLINE __declspec(noinline)
diff -r c81718588245 -r bcb07c3efa1a external/mit/libepoxy/src/gl_generated_dispatch.c
--- a/external/mit/libepoxy/src/gl_generated_dispatch.c Wed Nov 04 17:16:13 2020 +0000
+++ b/external/mit/libepoxy/src/gl_generated_dispatch.c Wed Nov 04 22:46:20 2020 +0000
@@ -26,7 +26,7 @@
#include "dispatch_common.h"
#include "epoxy/gl.h"
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__lint__)
#define EPOXY_NOINLINE __attribute__((noinline))
#elif defined (_MSC_VER)
#define EPOXY_NOINLINE __declspec(noinline)
diff -r c81718588245 -r bcb07c3efa1a external/mit/libepoxy/src/glx_generated_dispatch.c
--- a/external/mit/libepoxy/src/glx_generated_dispatch.c Wed Nov 04 17:16:13 2020 +0000
+++ b/external/mit/libepoxy/src/glx_generated_dispatch.c Wed Nov 04 22:46:20 2020 +0000
@@ -26,7 +26,7 @@
#include "dispatch_common.h"
#include "epoxy/glx.h"
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__lint__)
#define EPOXY_NOINLINE __attribute__((noinline))
#elif defined (_MSC_VER)
#define EPOXY_NOINLINE __declspec(noinline)
Home |
Main Index |
Thread Index |
Old Index