e22e008 Ticket 49305 - Need to wrap atomic calls

Authored and Committed by mreynolds 2 years ago
    Ticket 49305 - Need to wrap atomic calls
    
    Bug Description:  Some RHEL 7.5 platforms (ppc 32bit) still do not support
                      all the gcc built-in atomics.  This breaks the downstream
                      builds.
    
    Fix Description:  Use wrapper functions for the atomic's using #define's
                      to detect if builtin atomics are supported, otherwise
                      use the generic nspr atomic functions.
    
    https://pagure.io/389-ds-base/issue/49305
    
    Reviewed by: tbordaz, lkrispen, and wibrown(Thanks!!!)
    
    (cherry picked from commit 93a29584ddae52497b898b451c2c810244627acb)
    
        
file modified
+4 -4
file modified
+77 -77
file modified
+4 -5
file modified
+3 -4
file modified
+3 -4