Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/build/pkgs/flintqs/patches/lanczos.h.patch
8820 views
1
diff -ur src/lanczos.h b/lanczos.h
2
--- src/lanczos.h 2007-05-06 00:52:39.000000000 +0200
3
+++ b/lanczos.h 2012-05-26 06:17:05.784874818 +0200
4
@@ -21,6 +21,13 @@
5
#ifndef LANCZOS_H
6
#define LANCZOS_H
7
8
+#ifdef __sun
9
+#define u_int32_t unsigned int
10
+#define u_int64_t unsigned long long
11
+#endif
12
+
13
+#include <sys/types.h> // needed on MacOS X 10.5 for uint type
14
+
15
#include <stdlib.h>
16
17
typedef struct {
18
19