File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
7
7
Version 4.0.0 (in progress)
8
8
===========================
9
9
10
+ 2019-04-19: pbecherer
11
+ [Tcl] Fix Visual Studio 2015 and later compilation errors due to snprintf macro
12
+ definition.
13
+
10
14
2019-04-09: wsfulton
11
15
[C#] Fix FxCop warning CA2002 in SWIGPendingException - a lock on a reference of
12
16
type 'Type'.
Original file line number Diff line number Diff line change 7
7
#include <stdio.h>
8
8
#include <string.h>
9
9
#include <stdlib.h>
10
- #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
10
+ #if ( defined(_MSC_VER) && (_MSC_VER < 1900) ) || defined(__BORLANDC__) || defined(_WATCOM)
11
11
# ifndef snprintf
12
12
# define snprintf _snprintf
13
13
# endif
Original file line number Diff line number Diff line change 35
35
36
36
%fragment("<stdio.h>", "header") %{
37
37
#include <stdio.h>
38
- #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
38
+ #if ( defined(_MSC_VER) && (_MSC_VER < 1900) ) || defined(__BORLANDC__) || defined(_WATCOM)
39
39
# ifndef snprintf
40
40
# define snprintf _snprintf
41
41
# endif
You can’t perform that action at this time.
0 commit comments