mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-12-01 04:02:55 +00:00
0a3293d6d5
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
27 lines
709 B
Diff
27 lines
709 B
Diff
From 6ccae713acc457d7df6ab15e124a7d77c5093213 Mon Sep 17 00:00:00 2001
|
|
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|
Date: Sun, 20 Mar 2016 13:28:07 +0100
|
|
Subject: [PATCH 4/4] bigendian assert
|
|
|
|
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|
---
|
|
src/gallium/auxiliary/util/u_math.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
|
|
index ecb1d63..90ada14 100644
|
|
--- a/src/gallium/auxiliary/util/u_math.h
|
|
+++ b/src/gallium/auxiliary/util/u_math.h
|
|
@@ -59,6 +59,9 @@
|
|
extern "C" {
|
|
#endif
|
|
|
|
+#ifdef PIPE_ARCH_BIG_ENDIAN
|
|
+#include <assert.h>
|
|
+#endif
|
|
|
|
#ifndef M_SQRT2
|
|
#define M_SQRT2 1.41421356237309504880
|
|
--
|
|
2.7.4
|
|
|