Merge pull request #623 from death-droid/VStudio2015Fixes

Add support for Visual Studio 2015, xdebug appears to no longer be av…
This commit is contained in:
zilmar 2015-09-24 09:34:11 +10:00
commit b9ae7c263b
3 changed files with 11 additions and 2 deletions

View File

@ -62,6 +62,10 @@
#define wxCOMPILER_PREFIX vc100
#elif _MSC_VER == 1700
#define wxCOMPILER_PREFIX vc110
#elif _MSC_VER == 1800
#define wxCOMPILER_PREFIX vc120
#elif _MSC_VER == 1900
#define wxCOMPILER_PREFIX vc140
#else
#error "Unknown MSVC compiler version, please report to wx-dev."
#endif

View File

@ -437,7 +437,9 @@
# elif __VISUALC__ < 1800
# define __VISUALC11__
# elif __VISUALC__ < 1900
# define __VISUALC12__
# define __VISUALC12__
# elif __VISUALC__ < 2000
# define __VISUALC14__
# else
# pragma message("Please update wx/platform.h to recognize this VC++ version")
# endif
@ -523,7 +525,7 @@
# define wxVISUALC_VERSION(major) 0
# define wxCHECK_VISUALC_VERSION(major) 0
#else
# define wxVISUALC_VERSION(major) ( (6 + major) * 100 )
# define wxVISUALC_VERSION(major) ( (6 + (major >= 14 ? 1 : 0) + major) * 100 )
# define wxCHECK_VISUALC_VERSION(major) ( __VISUALC__ >= wxVISUALC_VERSION(major) )
#endif

View File

@ -1,5 +1,8 @@
#ifdef _DEBUG
#if (defined(_MSC_VER) && (_MSC_VER < 1900))
#define MEM_LEAK_TEST
#endif
#ifdef MEM_LEAK_TEST