From 7c6b5a2ee7cca1e13d13e94c63fb6a2f584823e3 Mon Sep 17 00:00:00 2001 From: espie <> Date: Thu, 6 Jan 2005 20:36:23 +0000 Subject: [PATCH] provide float_t, double_t, FLT_EVAL_METHOD (dummy C99 constructs) okay millert@ --- src/include/math.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/include/math.h b/src/include/math.h index 135875ed..964dde4e 100644 --- a/src/include/math.h +++ b/src/include/math.h @@ -1,4 +1,4 @@ -/* $OpenBSD: math.h,v 1.8 2003/06/26 22:40:27 jason Exp $ */ +/* $OpenBSD: math.h,v 1.9 2005/01/06 20:36:23 espie Exp $ */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -23,6 +23,16 @@ extern char __infinity[]; #define HUGE_VAL (*(double *) __infinity) +/* + * C99 + */ + +/* XXX just appease the committee for now, needs proper defs... */ + +typedef float float_t; +typedef double double_t; +#define FLT_EVAL_METHOD (-1) + /* * XOPEN/SVID */