File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 44/* LibTomMath, multiple-precision integer library -- Tom St Denis */
55/* SPDX-License-Identifier: Unlicense */
66
7- /* TOD: find min version of glibc. Seems to be >2.9, check */
7+ #ifdef _MSC_VER
8+ static int s_mp_print_mp_int (FILE * stream , const struct printf_info * info , const void * const * args ){
9+ (void )(stream );
10+ (void )(info );
11+ (void )(args );
12+ return MP_VAL ;
13+ }
14+ #else
15+
16+ /* TODO: find min version of glibc. Seems to be >2.9, check */
817#if (!(defined MP_NO_FILE ) && (defined __GLIBC__ ))
918#include <printf.h>
1019static int s_mp_print_mp_int (FILE * stream , const struct printf_info * info , const void * const * args )
@@ -112,3 +121,4 @@ mp_err mp_printf_extension(void)
112121}
113122#endif
114123#endif
124+ #endif
You can’t perform that action at this time.
0 commit comments