-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17222 from JuliaLang/kf/suitesparsewinclang
Add patch to fix SuiteSparse-Clang-Win64 build
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- SuiteSparse_config/SuiteSparse_config.h 2015-07-15 03:26:41.000000000 +0000 | ||
+++ SuiteSparse_config/SuiteSparse_config.h 2016-07-01 00:55:57.157465600 +0000 | ||
@@ -54,7 +54,11 @@ | ||
#ifdef _WIN64 | ||
|
||
#define SuiteSparse_long __int64 | ||
+#ifdef _MSVC_VER | ||
#define SuiteSparse_long_max _I64_MAX | ||
+#else | ||
+#define SuiteSparse_long_max LLONG_MAX | ||
+#endif | ||
#define SuiteSparse_long_idd "I64d" | ||
|
||
#else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters