File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 103103# endif
104104#endif
105105
106- /* unlike snprintf (which is required in C99, yet still not supported by
107- Microsoft more than a decade later!), _snprintf does not guarantee null
108- termination of the result -- however this is only used in gzlib.c where
106+ /* unlike snprintf (which is required in C99), _snprintf does not guarantee
107+ null termination of the result -- however this is only used in gzlib.c where
109108 the result is assured to fit in the space provided */
110- #ifdef _MSC_VER
109+ #if defined( _MSC_VER ) && _MSC_VER < 1900
111110# define snprintf _snprintf
112111#endif
113112
Original file line number Diff line number Diff line change 4040# define SET_BINARY_MODE (file )
4141#endif
4242
43- #ifdef _MSC_VER
43+ #if defined( _MSC_VER ) && _MSC_VER < 1900
4444# define snprintf _snprintf
4545#endif
4646
You can’t perform that action at this time.
0 commit comments