Require Visual Studio 2015.
We no longer need or use Visual Studio 2013. https://ci.appveyor.com/project/jrfonseca/mesa/build/52 Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
d5f934522d
commit
52ca32121b
|
@ -57,7 +57,7 @@ willing to maintain support for other compiler get in touch.
|
||||||
<ul>
|
<ul>
|
||||||
<li>GCC 4.2.0 or later (some parts of Mesa may require later versions)
|
<li>GCC 4.2.0 or later (some parts of Mesa may require later versions)
|
||||||
<li>clang - exact minimum requirement is currently unknown.
|
<li>clang - exact minimum requirement is currently unknown.
|
||||||
<li>Microsoft Visual Studio 2013 Update 4 or later is required, for building on Windows.
|
<li>Microsoft Visual Studio 2015 or later is required, for building on Windows.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -76,18 +76,8 @@ Configuration macro:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Visual Studio 2015 and later */
|
/* Visual Studio 2015 and later */
|
||||||
#if _MSC_VER >= 1900
|
#ifdef _MSC_VER
|
||||||
#define HAVE_TIMESPEC
|
|
||||||
#define HAVE_TIMESPEC_GET
|
#define HAVE_TIMESPEC_GET
|
||||||
#elif defined(__MINGW32__)
|
|
||||||
#define HAVE_TIMESPEC
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_TIMESPEC
|
|
||||||
struct timespec {
|
|
||||||
time_t tv_sec;
|
|
||||||
long tv_nsec;
|
|
||||||
};
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*---------------------------- macros ----------------------------*/
|
/*---------------------------- macros ----------------------------*/
|
||||||
|
|
|
@ -36,8 +36,8 @@
|
||||||
*/
|
*/
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
|
||||||
# if _MSC_VER < 1800 || (_MSC_FULL_VER < 180031101 && !defined(__clang__))
|
# if _MSC_VER < 1900
|
||||||
# error "Microsoft Visual Studio 2013 Update 4 or higher required"
|
# error "Microsoft Visual Studio 2015 or higher required"
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -198,9 +198,7 @@ do { \
|
||||||
# define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
|
# define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
|
||||||
# endif
|
# endif
|
||||||
# elif defined(_MSC_VER) && !defined(__INTEL_COMPILER)
|
# elif defined(_MSC_VER) && !defined(__INTEL_COMPILER)
|
||||||
# if _MSC_VER >= 1800
|
# define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
|
||||||
# define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
|
|
||||||
# endif
|
|
||||||
# endif
|
# endif
|
||||||
# ifndef HAS_TRIVIAL_DESTRUCTOR
|
# ifndef HAS_TRIVIAL_DESTRUCTOR
|
||||||
/* It's always safe (if inefficient) to assume that a
|
/* It's always safe (if inefficient) to assume that a
|
||||||
|
|
Loading…
Reference in New Issue