summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-03-26 14:38:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-03-26 14:38:07 (GMT)
commit0d475f68d96279bbbd554fb4223b2c4fa333adba (patch)
tree0e6cfb17fc9375d1986157c9b4d1f8887eccf884 /unix/tclUnixPort.h
parent72ae8dccf119510f1b175a9a2243a87069cef308 (diff)
parent07ba2fc47f5d9c888ccb11ca3666f215159b5f45 (diff)
downloadtcl-0d475f68d96279bbbd554fb4223b2c4fa333adba.zip
tcl-0d475f68d96279bbbd554fb4223b2c4fa333adba.tar.gz
tcl-0d475f68d96279bbbd554fb4223b2c4fa333adba.tar.bz2
Implement RFE [b42b208ba4]: file attributes -readonly (and -archive, -hidden, -system) on Cygwin.
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);