diff options
| author | apnadkarni <apnmbx-wits@yahoo.com> | 2025-09-17 05:24:07 (GMT) |
|---|---|---|
| committer | apnadkarni <apnmbx-wits@yahoo.com> | 2025-09-17 05:24:07 (GMT) |
| commit | 5ab8b8b3d8634976de5ffb5fd04eed6fd1f7dc8e (patch) | |
| tree | a02d02be73a7cb1357555dfeef748f3a4065336d /unix/tclUnixPort.h | |
| parent | 4b5c6bedda3393e42f06dfb50a5af067c3173b33 (diff) | |
| parent | 133e32482931da3d774c7c0c8f6f176639c0639c (diff) | |
| download | tcl-core-apn-init-refactor.zip tcl-core-apn-init-refactor.tar.gz tcl-core-apn-init-refactor.tar.bz2 | |
Merge trunkcore-apn-init-refactor
Diffstat (limited to 'unix/tclUnixPort.h')
| -rw-r--r-- | unix/tclUnixPort.h | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index fd62d7f..c4d89a7 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -89,25 +89,18 @@ extern "C" { # 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, + __declspec(dllimport) extern int GetModuleHandleExW(unsigned int, const void *, void *); + __declspec(dllimport) extern int GetModuleFileNameW(void *, const void *, int); + __declspec(dllimport) extern int WideCharToMultiByte(int, int, const void *, int, char *, int, const char *, void *); - __declspec(dllimport) extern __stdcall int MultiByteToWideChar(int, int, const char *, int, + __declspec(dllimport) extern int MultiByteToWideChar(int, int, const char *, int, WCHAR *, int); - __declspec(dllimport) extern __stdcall void OutputDebugStringW(const WCHAR *); - __declspec(dllimport) extern __stdcall int IsDebuggerPresent(void); - __declspec(dllimport) extern __stdcall int GetLastError(void); - __declspec(dllimport) extern __stdcall int GetFileAttributesW(const WCHAR *); - __declspec(dllimport) extern __stdcall int SetFileAttributesW(const WCHAR *, int); + __declspec(dllimport) extern void OutputDebugStringW(const WCHAR *); + __declspec(dllimport) extern int IsDebuggerPresent(void); + __declspec(dllimport) extern int GetLastError(void); + __declspec(dllimport) extern int GetFileAttributesW(const WCHAR *); + __declspec(dllimport) extern int SetFileAttributesW(const WCHAR *, int); __declspec(dllimport) extern int cygwin_conv_path(int, const void *, void *, int); -#ifdef __clang__ -#pragma clang diagnostic pop -#endif # define timezone _timezone extern int TclOSfstat(int fd, void *statBuf); extern int TclOSstat(const char *name, void *statBuf); |
