summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-05-26 01:49:25 +0000
committermillert <millert@openbsd.org>2001-05-26 01:49:25 +0000
commitf253020c05ba096085d75e155dc4beaf0b7415d2 (patch)
tree5b6a520c1b7e370e25d284cb6345a6a0fa3923b3
parentGet rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless. (diff)
downloadwireguard-openbsd-f253020c05ba096085d75e155dc4beaf0b7415d2.tar.xz
wireguard-openbsd-f253020c05ba096085d75e155dc4beaf0b7415d2.zip
Change protection of struct exception back from #ifdef __LIBM_PRIVATE
to #ifndef __cplusplus. It turns out there is code outside of libm that wants to use this. I suppose that's why it is in math.h instead of math_private.h ;-)
-rw-r--r--include/math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/math.h b/include/math.h
index 45d86210fdd..d9d2a9ca447 100644
--- a/include/math.h
+++ b/include/math.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: math.h,v 1.4 2000/03/01 22:27:13 todd Exp $ */
+/* $OpenBSD: math.h,v 1.5 2001/05/26 01:49:25 millert Exp $ */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -64,7 +64,7 @@ extern _LIB_VERSION_TYPE _LIB_VERSION;
#define _XOPEN_ fdlibm_xopen
#define _POSIX_ fdlibm_posix
-#ifdef __LIBM_PRIVATE
+#ifndef __cplusplus
struct exception {
int type;
char *name;