1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Let this port know of the types that are 64-bit on FreeBSD/Alpha.

This commit is contained in:
Steve Price 1999-09-20 01:35:29 +00:00
parent 73d2b8f97e
commit 8975664af8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21793

View File

@ -0,0 +1,20 @@
--- include/pgpUsuals.h.orig Sun Sep 19 16:40:16 1999
+++ include/pgpUsuals.h Sun Sep 19 16:41:51 1999
@@ -48,11 +48,17 @@
* will choke lesser preprocessors (like 0xffffffffffffffff) unless
* we're reasonably certain that they'll be acceptable.
*/
+#if defined(__FreeBSD__) && defined(__alpha__)
+typedef unsigned long word64;
+typedef long int64;
+#define HAVE64 1
+#else
#if ULONG_MAX > 0xfffffffful
#if ULONG_MAX == 0xfffffffffffffffful
typedef ulong bnword64;
#define BNWORD64 bnword64
#define HAVE64 1
+#endif
#endif
#endif