Module Name: xsrc Committed By: christos Date: Sun Apr 7 19:35:14 UTC 2019
Modified Files: xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe: p_compiler.h Log Message: - we re-define u{int,short,char} in types.h - handle lint To generate a diff of this commit: cvs rdiff -u -r1.1.1.5 -r1.2 \ xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h diff -u xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h:1.1.1.5 xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h:1.2 --- xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h:1.1.1.5 Sat Mar 9 22:42:45 2019 +++ xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe/p_compiler.h Sun Apr 7 15:35:14 2019 @@ -69,7 +69,7 @@ extern "C" { #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 @@ typedef unsigned char boolean; #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 @@ typedef unsigned char boolean; #define PIPE_READ_WRITE_BARRIER() _ReadWriteBarrier() +#elif defined(__lint__) + +#define PIPE_READ_WRITE_BARRIER() /* */ + #else #warning "Unsupported compiler"