summaryrefslogtreecommitdiff
path: root/math/py-numarray/patches/patch-Include_numarray_arraybase.h
blob: 83ab066dd6837716e2f234ced90a1fdaad2d4ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-Include_numarray_arraybase.h,v 1.1 2015/01/27 05:05:30 dbj Exp $

--- Include/numarray/arraybase.h.orig	2006-01-23 11:45:03.000000000 +0000
+++ Include/numarray/arraybase.h
@@ -42,7 +42,12 @@ typedef struct { Float64 r, i; } Complex
 
 #if LP64
 typedef long int                 Int64;
+#ifdef __APPLE__
+/* match the definition in MacTypes.h */
+typedef unsigned long long       UInt64;
+#else
 typedef unsigned long int        UInt64;
+#endif
 typedef Int64                    Long;
 #else                  /* 32-bit platforms */
 typedef Int32                    Long;