diff options
author | Steve Dower <steve.dower@microsoft.com> | 2014-11-22 12:54:57 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2014-11-22 12:54:57 -0800 |
commit | abd788eff0d3cda18a5b03bc92e556b2786150a3 (patch) | |
tree | 7c7fc06b51d540bd5677ac63192b481b4714917e /PC/pyconfig.h | |
parent | f4caa9bda1758324a4e797986308dfa9e9767613 (diff) | |
download | cpython-abd788eff0d3cda18a5b03bc92e556b2786150a3.tar.gz |
Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r-- | PC/pyconfig.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 9cdc4c5a95..bd8844f5b4 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -213,6 +213,13 @@ typedef int pid_t; #define hypot _hypot #endif +/* VS 2015 defines these names with a leading underscore */ +#if _MSC_VER >= 1900 +#define timezone _timezone +#define daylight _daylight +#define tzname _tzname +#endif + /* Side by Side assemblies supported in VS 2005 and VS 2008 but not 2010*/ #if _MSC_VER >= 1400 && _MSC_VER < 1600 #define HAVE_SXS 1 |