[Mesa-dev] [PATCH 5/5] util: use OpenBSD/NetBSD code on FreeBSD/DragonFly
Eric Engestrom
eric.engestrom at imgtec.com
Tue Oct 24 13:28:49 UTC 2017
On Monday, 2017-10-23 23:20:43 +0300, Greg V wrote:
> Obtained from: FreeBSD ports
> ---
> src/util/u_endian.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/util/u_endian.h b/src/util/u_endian.h
> index b9d563dd43..7be33dd3a5 100644
> --- a/src/util/u_endian.h
> +++ b/src/util/u_endian.h
> @@ -54,7 +54,7 @@
> # define PIPE_ARCH_BIG_ENDIAN
> #endif
>
> -#elif defined(__OpenBSD__) || defined(__NetBSD__)
> +#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
This is a long line, maybe split it there? ^
Cosmetics aside, this and patch 3 are
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
> #include <sys/types.h>
> #include <machine/endian.h>
>
> --
> 2.14.2
>
More information about the mesa-dev
mailing list