summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2014-03-26 10:37:57 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2014-03-26 10:37:57 (GMT)
commitc98af73fdd1b47c28da3208a99bc3871145c8cae (patch)
tree8adb225a430045a8e9e9e52e0eaf6e0230324a9f /unix/tclUnixPort.h
parentda28a0168a84b3b496370d5ef2820e0797a9ed33 (diff)
downloadtcl-c98af73fdd1b47c28da3208a99bc3871145c8cae.zip
tcl-c98af73fdd1b47c28da3208a99bc3871145c8cae.tar.gz
tcl-c98af73fdd1b47c28da3208a99bc3871145c8cae.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);