summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-13 15:39:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-13 15:39:23 (GMT)
commite43882908292c514bc01b2ca0c63ce6d0611c692 (patch)
treea73b0f280a2440f778b4ce2e29c09f8bee03a85b /unix/tclUnixPort.h
parent94e8f6336742c2df3ad63efbb598af741e0e7c5b (diff)
parent4cef9fbbe29e5ba76aaa7eaa7e91dd9b7d22e471 (diff)
downloadtcl-e43882908292c514bc01b2ca0c63ce6d0611c692.zip
tcl-e43882908292c514bc01b2ca0c63ce6d0611c692.tar.gz
tcl-e43882908292c514bc01b2ca0c63ce6d0611c692.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 4aa842e..a86319c 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -99,8 +99,8 @@ extern "C" {
# define SOCKET unsigned int
# define WSAEWOULDBLOCK 10035
typedef unsigned short WCHAR;
- __declspec(dllimport) extern __stdcall int GetModuleHandleExW(unsigned int, const char *, void *);
- __declspec(dllimport) extern __stdcall int GetModuleFileNameW(void *, const char *, int);
+ __declspec(dllimport) extern __stdcall int GetModuleHandleExW(unsigned int, const void *, void *);
+ __declspec(dllimport) extern __stdcall int GetModuleFileNameW(void *, const void *, int);
__declspec(dllimport) extern __stdcall int WideCharToMultiByte(int, int, const void *, int,
char *, int, const char *, void *);
__declspec(dllimport) extern __stdcall int MultiByteToWideChar(int, int, const char *, int,
@@ -161,6 +161,8 @@ extern "C" {
#include <limits.h>
#ifdef HAVE_STDINT_H
# include <stdint.h>
+#else
+# include "../compat/stdint.h"
#endif
#include <unistd.h>