summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r--sys/arch/hppa64/include/_types.h4
-rw-r--r--sys/arch/hppa64/include/float.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/hppa64/include/_types.h b/sys/arch/hppa64/include/_types.h
index 02b161c0eff..540fc9bd27d 100644
--- a/sys/arch/hppa64/include/_types.h
+++ b/sys/arch/hppa64/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.3 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.4 2008/07/21 20:50:54 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -101,6 +101,8 @@ typedef unsigned long __psize_t;
/* Standard system types */
typedef int __clock_t;
typedef int __clockid_t;
+typedef double __double_t;
+typedef float __float_t;
typedef long long __off_t;
typedef long __ptrdiff_t;
typedef unsigned long __size_t;
diff --git a/sys/arch/hppa64/include/float.h b/sys/arch/hppa64/include/float.h
index 4260471309c..b6c689c8444 100644
--- a/sys/arch/hppa64/include/float.h
+++ b/sys/arch/hppa64/include/float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: float.h,v 1.1 2005/04/01 10:40:48 mickey Exp $ */
+/* $OpenBSD: float.h,v 1.2 2008/07/21 20:50:54 martynas Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
@@ -42,6 +42,7 @@ __END_DECLS
#define FLT_RADIX 2
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24
#define FLT_EPSILON 1.19209290E-07F