[gimp/gimp-2-10] app: disable spec. 8-bpp version of gimp:mask-components for non-little-endian platforms



commit 1d05c286c546bee042d823c0429b78058eb7c740
Author: Ell <ell_se yahoo com>
Date:   Fri Mar 1 13:51:25 2019 -0500

    app: disable spec. 8-bpp version of gimp:mask-components for non-little-endian platforms
    
    (cherry picked from commit 6166f9ae144aa880a9def65ada23f66e1fb103c0)

 app/operations/gimpoperationmaskcomponents.cc | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/app/operations/gimpoperationmaskcomponents.cc b/app/operations/gimpoperationmaskcomponents.cc
index 6f4f469e80..19174e18f8 100644
--- a/app/operations/gimpoperationmaskcomponents.cc
+++ b/app/operations/gimpoperationmaskcomponents.cc
@@ -210,6 +210,8 @@ struct Process : ProcessGeneric<T>
 {
 };
 
+#if G_BYTE_ORDER == G_LITTLE_ENDIAN
+
 template <>
 struct Process<guint8>
 {
@@ -269,6 +271,8 @@ struct Process<guint8>
   }
 };
 
+#endif /* G_BYTE_ORDER == G_LITTLE_ENDIAN */
+
 template <class T>
 static gboolean
 gimp_operation_mask_components_process (GimpOperationMaskComponents *self,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]