From cc7d36ee3febad029d32c47ff2c569c89582dbdd Mon Sep 17 00:00:00 2001 From: guenther <> Date: Tue, 10 May 2016 05:42:31 +0000 Subject: Oops: the caching of TCB address in single-threaded processes on archs with slow TCB_GET (alpha, arm, mips64, sh) was broken when I switched CPP symbols. --- src/lib/libc/include/cancel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/libc/include/cancel.h b/src/lib/libc/include/cancel.h index 4f4add471b..a858b80a1c 100644 --- a/src/lib/libc/include/cancel.h +++ b/src/lib/libc/include/cancel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cancel.h,v 1.1 2016/05/07 19:05:22 guenther Exp $ */ +/* $OpenBSD: cancel.h,v 1.2 2016/05/10 05:42:31 guenther Exp $ */ /* * Copyright (c) 2015 Philip Guenther * @@ -26,7 +26,7 @@ __BEGIN_HIDDEN_DECLS __dead void _thread_canceled(void); __END_HIDDEN_DECLS -#ifdef LIBC +#ifdef __LIBC__ /* * Redirect macros that would use the syscall to instead use our callback */ -- cgit v1.2.3-55-g6feb