Fixes for MSVC.
This commit is contained in:
parent
9580c30d8a
commit
42bf85d10b
4 changed files with 51 additions and 18 deletions
|
@ -37,4 +37,20 @@
|
|||
#define APP_VER_BUILD 0
|
||||
#define APP_VER_REV 0
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# if _MSC_VER == 1910
|
||||
# define MSVC_VERSION 2017
|
||||
# elif _MSC_VER == 1900
|
||||
# define MSVC_VERSION 2015
|
||||
# elif _MSC_VER == 1800
|
||||
# define MSVC_VERSION 2013
|
||||
# elif _MSC_VER == 1700
|
||||
# define MSVC_VERSION 2012
|
||||
# elif _MSC_VER == 1600
|
||||
# define MSVC_VERSION 2010
|
||||
# else
|
||||
# define MSVC_VERSION 0
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* __VERSION_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue