tech-x11 archive

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

Re: MesaLib



>> <https://ftp.NetBSD.org/pub/NetBSD/misc/rjs/mesa/MesaLib.diff>
>
> Index: src/util/macros.h
> ...
> +#include <sys/param.h>
>
> what's this part about?  i suspect is why the earlier patch:
>
> +#ifndef __NetBSD__
>  #define MIN(a, b) ((a) < (b) ? (a) : (b))
> #define MAX(a, b) ((a) > (b) ? (a) : (b))
> +#endif
>
> was needed?  oh, i guess for CACHE_LINE_SIZE.  hmm.  i wonder if
> we have a better way of doing this...

It builds with these changes reverted.

Can revisit this when I add panfrost and lima to the build.


Home | Main Index | Thread Index | Old Index