Skip to content

Commit 51592ee

Browse files
committed
mlmpfr: make 4.1.1 version compatible with 4.2.0
The new 4.2.0 version of the C mpfr library is compatible with the previous 4.1.1 one, so, make the latter compatible with it in order to allow users to install the mlmpfr package on up to date systems. thvnx/mlmpfr#28
1 parent 67a3d72 commit 51592ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/mlmpfr/mlmpfr.4.1.1/files/mlmpfr_compatibility_test.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@ int main(int argc, char **argv)
1212
if(strcmp(subversion, "4.1.1") == 0)
1313
return 0;
1414

15+
// Version 4.1.1 is also compatible with 4.2.0
16+
if(strcmp(subversion, "4.2.0") == 0)
17+
return 0;
18+
1519
return 1;
1620
}

0 commit comments

Comments
 (0)