summaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2014-11-22 12:54:57 -0800
committerSteve Dower <steve.dower@microsoft.com>2014-11-22 12:54:57 -0800
commit65e4cb10d9d9964f30bc72561bf0e86833328a3b (patch)
tree1c9502ea790480e2ea06b380d912eeb879b2f96d /PC/pyconfig.h
parent92716777b862af05bf149bd02cac4d83234751c4 (diff)
downloadcpython-git-65e4cb10d9d9964f30bc72561bf0e86833328a3b.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.h7
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