4edf9f1 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 builtin 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 egneric nspr atomic functions.
    
    https://pagure.io/389-ds-base/issue/49305
    
    Reviewed by: tbordaz(Thanks!)
    
    (cherry picked from commit af723fd632d355642babeed1dbdb5a308c21fa79)
    
        
file modified
+6 -5
file modified
+83 -78
file modified
+5 -4
file modified
+5 -3
file modified
+4 -3