[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #15040] Trunk build fails on OpenBSD sparc64
From: |
Mark D. Baushke |
Subject: |
Re: [bug #15040] Trunk build fails on OpenBSD sparc64 |
Date: |
Fri, 24 Mar 2006 14:17:47 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Alexander,
Does this patch help you?
I do not know if it will cause problems with the 7.18.1.4 integer types
or not.
Thanks,
-- Mark
Index: lib/stdint_.h
===================================================================
RCS file: /cvsroot/cvs/ccvs/lib/stdint_.h,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 stdint_.h
- --- stdint_.h 25 Jan 2006 12:53:38 -0000 1.5
+++ stdint_.h 24 Mar 2006 22:14:13 -0000
@@ -33,6 +33,9 @@
#if defined(__FreeBSD__)
# include <sys/inttypes.h>
#endif
+#if defined(__OpenBSD__)
+# include <sys/types.h>
+#endif
#if defined(__linux__) && HAVE_SYS_BITYPES_H
/* Linux libc4 >= 4.6.7 and libc5 have a <sys/bitypes.h> that defines
int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is
@@ -62,7 +65,7 @@
/* 7.18.1.1. Exact-width integer types */
- -#if !defined(__FreeBSD__)
+#if !defined(__FreeBSD__) || !defined(__OpenBSD__)
#ifdef _STDINT_H_NEED_SIGNED_INT_TYPES
typedef signed char int8_t;
@@ -97,7 +100,7 @@ typedef unsigned __int64 uint64_t;
#define _STDINT_H_HAVE_INT64
#endif
- -#endif /* !FreeBSD */
+#endif /* !FreeBSD || !OpenBSD */
/* 7.18.1.2. Minimum-width integer types */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)
iD8DBQFEJHAKCg7APGsDnFERAtHnAJ9/U1bvzxmAe+v1OTFpDp2MB+HksgCgyai9
BOVi+iwqIKkk+ozla3WdUiM=
=Z8KA
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [bug #15040] Trunk build fails on OpenBSD sparc64,
Mark D. Baushke <=