Browse Source

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 ;-)
OPENBSD_3_0
millert 23 years ago
parent
commit
cced717301
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/include/math.h

+ 2
- 2
src/include/math.h View File

@ -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. * 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 _XOPEN_ fdlibm_xopen
#define _POSIX_ fdlibm_posix #define _POSIX_ fdlibm_posix
#ifdef __LIBM_PRIVATE
#ifndef __cplusplus
struct exception { struct exception {
int type; int type;
char *name; char *name;


Loading…
Cancel
Save