summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-05-10 05:42:31 +0000
committerguenther <guenther@openbsd.org>2016-05-10 05:42:31 +0000
commit27d6e9c15343712ee6f0124b1d483e6ff7c3b43b (patch)
tree258bab0bc57b0a60f05a076cf3b12849aff58ce6 /lib/libc
parentIn a signal handler use snprintf()+local buffer instead of asprintf+free (diff)
downloadwireguard-openbsd-27d6e9c15343712ee6f0124b1d483e6ff7c3b43b.tar.xz
wireguard-openbsd-27d6e9c15343712ee6f0124b1d483e6ff7c3b43b.zip
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.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/include/cancel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/include/cancel.h b/lib/libc/include/cancel.h
index 4f4add471b7..a858b80a1c2 100644
--- a/lib/libc/include/cancel.h
+++ b/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 <guenther@openbsd.org>
*
@@ -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
*/