mini-gmp.h FILE test update from gmp.h

Vincent Lefevre vincent at vinc17.net
Wed Sep 16 12:35:03 UTC 2020


In mini-gmp/mini-gmp.h, concerning FILE tests:

/* This long list taken from gmp.h. */

but the list in GMP 6.2.0 and the current repository is not up-to-date.
See attached patch.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
-------------- next part --------------
diff -r 57547dbdd7d4 mini-gmp/mini-gmp.h
--- a/mini-gmp/mini-gmp.h	Fri Sep 11 01:15:37 2020 +0200
+++ b/mini-gmp/mini-gmp.h	Wed Sep 16 14:29:52 2020 +0200
@@ -295,7 +295,8 @@
   || defined (_MSL_STDIO_H)           /* Metrowerks */          \
   || defined (_STDIO_H_INCLUDED)      /* QNX4 */		\
   || defined (_ISO_STDIO_ISO_H)       /* Sun C++ */		\
-  || defined (__STDIO_LOADED)         /* VMS */
+  || defined (__STDIO_LOADED)         /* VMS */			\
+  || defined (__DEFINED_FILE)         /* musl */
 size_t mpz_out_str (FILE *, int, const mpz_t);
 #endif
 


More information about the gmp-bugs mailing list