source: projects/specs/trunk/m/mozc/ibus-mozc-0.11.0-fix-compile-w-i386.patch @ 2063

Revision 2063, 856 bytes checked in by iwaim, 14 years ago (diff)

mozc 0.13.499.102-1

  • src/base/mutex.cc

    old new  
    5151inline int InterlockedCompareExchange(volatile int *target, 
    5252                                      int new_value, 
    5353                                      int old_value) { 
     54// chagne required minimum version from 4.1 to 4.4 to avoid 
     55// build error for Vine Linux 5 as a workaround. 
     56// (it has gcc-4.1.2 but march=i386,  
     57//  but __sync_val_compare_and_swap needs cpu >= i486)  
    5458#if defined(__GNUC__) && \ 
    55         (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) && \ 
     59        (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) && \ 
    5660        !defined(__arm__) 
    5761  // Use GCC's extention (Note: ARM GCC doesn't have this function.) 
    5862  // http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Atomic-Builtins.html 
Note: See TracBrowser for help on using the repository browser.