• Daniel Black's avatar
    crc32c: Fix AIX compulation - ALIGN defined · 5dbea46c
    Daniel Black authored
    ALIGN was defined already:
    
    mysys/crc32/crc32c.cc:390: warning: "ALIGN" redefined
     #define ALIGN(n, m)     ((n + ((1 << m) - 1)) & ~((1 << m) - 1))
    
    In file included from /root/aix/build/include/my_global.h:543,
                     from /root/aix/build/mysys/crc32/crc32c.cc:22:
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/include-fixed/sys/socket.h:788: note: this is the location of the previous definition
     #define ALIGN(p)                (ulong)((caddr_t)(p) + MACHINE_ALIGNMENT - 1 - \
    5dbea46c
crc32c.cc 43.6 KB