cedric pushed a commit to branch efl-1.11.

http://git.enlightenment.org/core/efl.git/commit/?id=305b0598858a5aa3e9c1f3e365f28f4c9361bd7c

commit 305b0598858a5aa3e9c1f3e365f28f4c9361bd7c
Author: Philippe Coval <[email protected]>
Date:   Wed Sep 3 18:23:59 2014 +0200

    evas: fix build on armv7l.
    
    Summary:
    Without compilation will fail on :
    
      error: unknown type name 'pix_type'
      error: expected identifier or '(' before 'else'
    
    Applies to efl-1.11.0 and later
    
    Bug: https://phab.enlightenment.org/T1620
    Bug-Tizen: PTREL-737/part
    Change-Id: Idbcb442803ed6559698b2a371d1d6c584ec053e0
    Signed-off-by: Philippe Coval <[email protected]>
    
    Test Plan:
      gbs build -P "profile.tizen_common_armv7l" --arch armv7l --include-all
    
    @fix
    
    Reviewers: cedric
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D1399
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 src/lib/evas/common/evas_convert_rgb_32.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/lib/evas/common/evas_convert_rgb_32.c 
b/src/lib/evas/common/evas_convert_rgb_32.c
index aae9d37..0cc3315 100644
--- a/src/lib/evas/common/evas_convert_rgb_32.c
+++ b/src/lib/evas/common/evas_convert_rgb_32.c
@@ -45,7 +45,7 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 
*src, DATA8 *dst, int
 
 #ifdef TILE_ROTATE
 #ifdef BUILD_NEON
-#define ROT90_QUAD_COPY_LOOP \
+#define ROT90_QUAD_COPY_LOOP(pix_type) \
    if (evas_common_cpu_has_feature(CPU_FEATURE_NEON)) \
    { \
       if((w%4) == 0) \
@@ -86,8 +86,9 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 
*src, DATA8 *dst, int
       } \
    } \
    else
-#define ROT270_QUAD_COPY_LOOP \
+#define ROT270_QUAD_COPY_LOOP(pix_type) \
    if (evas_common_cpu_has_feature(CPU_FEATURE_NEON)) \
+   { \
       if((w%4) == 0) \
       { \
         int klght = 4 * src_stride; \
@@ -127,8 +128,8 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 
*src, DATA8 *dst, int
    } \
    else
 #else
-#define ROT90_QUAD_COPY_LOOP
-#define ROT270_QUAD_COPY_LOOP
+#define ROT90_QUAD_COPY_LOOP(pix_type)
+#define ROT270_QUAD_COPY_LOOP(pix_type)
 #endif
 #define FAST_SIMPLE_ROTATE(suffix, pix_type) \
    static void \
@@ -140,7 +141,7 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 
*src, DATA8 *dst, int
                                    int             h) \
    { \
       int x, y; \
-      ROT90_QUAD_COPY_LOOP \
+      ROT90_QUAD_COPY_LOOP(pix_type) \
       { \
         for (y = 0; y < h; y++) \
           { \
@@ -163,7 +164,7 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 
*src, DATA8 *dst, int
                                     int             h) \
    { \
       int x, y; \
-      ROT270_QUAD_COPY_LOOP \
+      ROT270_QUAD_COPY_LOOP(pix_type) \
       { \
         for(y = 0; y < h; y++) \
         { \

-- 


Reply via email to