summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-13 13:06:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-13 13:06:34 (GMT)
commit077504f676c966b4675f7140168f3a115a34af62 (patch)
tree236797c3b614da71424e4e076ffa00da0544dd19 /win/tclWinPort.h
parentd0ff8f4a0d5b408ce2bf828775bff7c85fcb0b14 (diff)
parent6fdc83ae1490b9c80fdce1c5fc60af2ce84a08f0 (diff)
downloadtcl-077504f676c966b4675f7140168f3a115a34af62.zip
tcl-077504f676c966b4675f7140168f3a115a34af62.tar.gz
tcl-077504f676c966b4675f7140168f3a115a34af62.tar.bz2
Merge 8.7
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 8882046..ce5e91a 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -17,6 +17,10 @@
#if !defined(_WIN64)
# define __MINGW_USE_VC2005_COMPAT
#endif
+#if defined(_MSC_VER) && defined(_WIN64) && !defined(STATIC_BUILD) \
+ && !defined(MP_32BIT) && !defined(MP_64BIT)
+# define MP_64BIT
+#endif
/*
* We must specify the lower version we intend to support.
@@ -87,6 +91,8 @@ typedef DWORD_PTR * PDWORD_PTR;
#include <limits.h>
#ifdef HAVE_STDINT_H
# include <stdint.h>
+#else
+# include "../compat/stdint.h"
#endif
#ifndef __GNUC__