Skip to content

Commit b402626

Browse files
authored
Do not use the new TLS code for non-threaded builds even if USE_TLS is set
Workaround for #1761 as that exposed a problem in the new code (which was intended to speed up multithreaded code only anyway).
1 parent ec0cac1 commit b402626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/others/memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7373

7474
#include "common.h"
7575

76-
#if defined(USE_TLS)
76+
#if defined(USE_TLS) && defined(SMP)
7777
#define COMPILE_TLS
7878
#if defined(__GLIBC_PREREQ)
7979
#if !__GLIBC_PREREQ(2,20)

0 commit comments

Comments
 (0)