From 1d3b363c69a9ff993c62ea1c7babb08f05dd1123 Mon Sep 17 00:00:00 2001 From: rin Date: Wed, 22 Apr 2020 08:48:12 +0000 Subject: [PATCH] Use __mc68010__ to distinguish m68000 (sun2) from other m68k ports; __mc68000__ is defined both for m68000 and m68k. --- lib/libc/stdlib/jemalloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/stdlib/jemalloc.c b/lib/libc/stdlib/jemalloc.c index c3588ce1b040..55db4ce5b23f 100644 --- a/lib/libc/stdlib/jemalloc.c +++ b/lib/libc/stdlib/jemalloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: jemalloc.c,v 1.50 2020/04/22 08:45:06 rin Exp $ */ +/* $NetBSD: jemalloc.c,v 1.51 2020/04/22 08:48:12 rin Exp $ */ /*- * Copyright (C) 2006,2007 Jason Evans . @@ -117,7 +117,7 @@ #include /* __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp $"); */ -__RCSID("$NetBSD: jemalloc.c,v 1.50 2020/04/22 08:45:06 rin Exp $"); +__RCSID("$NetBSD: jemalloc.c,v 1.51 2020/04/22 08:48:12 rin Exp $"); #ifdef __FreeBSD__ #include "libc_private.h" @@ -271,8 +271,8 @@ __RCSID("$NetBSD: jemalloc.c,v 1.50 2020/04/22 08:45:06 rin Exp $"); # define QUANTUM_2POW_MIN 4 # define SIZEOF_PTR_2POW 2 # define USE_BRK -# ifdef __mc68000__ -# define NO_TLS +# ifdef __mc68010__ +# define NO_TLS # endif #endif #if defined(__mips__) || defined(__riscv__)