-
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 <ueno@gnu.org>
5803bfa3Daiki Ueno authoredWhen 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 <ueno@gnu.org>
Loading