diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-05-26 01:49:26 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-05-26 01:49:26 +0000 |
commit | 713c2822625d1ab891dfaea5c96ad9ad2ca15eb2 (patch) | |
tree | dd78cfa9e5b2f8fbf87b0a120d60f8f3cd3f9f80 /include/math.h | |
parent | 7c9baf59207d20bdbda9b4ce92974c7a849bd103 (diff) |
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 ;-)
Diffstat (limited to 'include/math.h')
-rw-r--r-- | include/math.h | 4 |
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; |