From cced7173016f68658595d4c17a0a47b80dfe3471 Mon Sep 17 00:00:00 2001 From: millert <> Date: Sat, 26 May 2001 01:49:25 +0000 Subject: [PATCH] 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 ;-) --- src/include/math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/math.h b/src/include/math.h index 45d86210..d9d2a9ca 100644 --- a/src/include/math.h +++ b/src/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;