summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-03-26 10:37:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-03-26 10:37:57 (GMT)
commit3b6523dd1f6ce2e08932508cf276ca55d04872e6 (patch)
tree8adb225a430045a8e9e9e52e0eaf6e0230324a9f /unix/tclUnixPort.h
parent72ae8dccf119510f1b175a9a2243a87069cef308 (diff)
downloadtcl-3b6523dd1f6ce2e08932508cf276ca55d04872e6.zip
tcl-3b6523dd1f6ce2e08932508cf276ca55d04872e6.tar.gz
tcl-3b6523dd1f6ce2e08932508cf276ca55d04872e6.tar.bz2
Implementation of [b42b208ba4]: file attributes -readonly on Cygwin. For completeness, implemented -archive, -hidden and -system as well.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 2ade1c0..f64d453 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -93,6 +93,9 @@ typedef off_t Tcl_SeekOffset;
WCHAR *, int);
__declspec(dllimport) extern __stdcall void OutputDebugStringW(const WCHAR *);
__declspec(dllimport) extern __stdcall int IsDebuggerPresent();
+ __declspec(dllimport) extern __stdcall int GetLastError();
+ __declspec(dllimport) extern __stdcall int GetFileAttributesW(const WCHAR *);
+ __declspec(dllimport) extern __stdcall int SetFileAttributesW(const WCHAR *, int);
__declspec(dllimport) extern int cygwin_conv_path(int, const void *, void *, int);
__declspec(dllimport) extern int cygwin_conv_path_list(int, const void *, void *, int);