Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe - we re...



details:   https://anonhg.NetBSD.org/xsrc/rev/910e289abadb
branches:  trunk
changeset: 10263:910e289abadb
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 07 19:35:14 2019 +0000

description:
- we re-define u{int,short,char} in types.h
- handle lint

diffstat:

 external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r b40e85f2f1a0 -r 910e289abadb external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h
--- a/external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h   Sun Apr 07 19:34:18 2019 +0000
+++ b/external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h   Sun Apr 07 19:35:14 2019 +0000
@@ -69,7 +69,7 @@
 #endif
 
 
-#if !defined(__HAIKU__) && !defined(__USE_MISC)
+#if !defined(__HAIKU__) && !defined(__USE_MISC) && !defined(_NETBSD_SOURCE)
 #if !defined(PIPE_OS_ANDROID)
 typedef unsigned int       uint;
 #endif
@@ -142,7 +142,7 @@
 
 #define PIPE_ALIGN_STACK
 
-#elif defined(SWIG)
+#elif defined(SWIG) || defined(__lint__)
 
 #define PIPE_ALIGN_TYPE(_alignment, _type) _type
 #define PIPE_ALIGN_VAR(_alignment)
@@ -164,6 +164,10 @@
 
 #define PIPE_READ_WRITE_BARRIER() _ReadWriteBarrier()
 
+#elif defined(__lint__)
+
+#define PIPE_READ_WRITE_BARRIER() /* */
+
 #else
 
 #warning "Unsupported compiler"



Home | Main Index | Thread Index | Old Index