Skip to content
  • Daiki Ueno's avatar
    locks: define lock functions as a macro · 5803bfa3
    Daiki Ueno authored
    When threads are not supported, glthread_* functions are defined as
    no-op and thus dereferencing lock variables in inline functions will
    cause compilation error.  This change fixes it by redefining our lock
    functions as a macro so it will also be compiled out.
    
    Reported by Fabrice Fontaine in:
    #1330
    
    
    
    Signed-off-by: Daiki Ueno's avatarDaiki Ueno <ueno@gnu.org>
    5803bfa3