summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-24 13:52:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-24 13:52:54 (GMT)
commitd326c63806c4d3002a0de11a29454eb1edddb27e (patch)
tree6323100036af56eddce918aae8e5adbdb60657c8 /unix/tclUnixPort.h
parent3ae5ed3dfcf3397abdbec6a00fae11fccd5fcc15 (diff)
parent51bf99fdf5def9a1842cccf4308cc8d429c1ef21 (diff)
downloadtcl-d326c63806c4d3002a0de11a29454eb1edddb27e.zip
tcl-d326c63806c4d3002a0de11a29454eb1edddb27e.tar.gz
tcl-d326c63806c4d3002a0de11a29454eb1edddb27e.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index ede87ad..adbb7aa 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -96,6 +96,10 @@ typedef off_t Tcl_SeekOffset;
# define SOCKET unsigned int
# define WSAEWOULDBLOCK 10035
typedef unsigned short WCHAR;
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wignored-attributes"
+#endif
__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,
@@ -109,6 +113,9 @@ typedef off_t Tcl_SeekOffset;
__declspec(dllimport) extern __stdcall int SetFileAttributesW(const WCHAR *, int);
__declspec(dllimport) extern int cygwin_conv_path(int, const void *, void *, int);
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
/* On Cygwin, the environment is imported from the Cygwin DLL. */
#ifndef __x86_64__
# define environ __cygwin_environ