diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-03-26 14:38:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-03-26 14:38:07 (GMT) |
commit | 0d475f68d96279bbbd554fb4223b2c4fa333adba (patch) | |
tree | 0e6cfb17fc9375d1986157c9b4d1f8887eccf884 /unix/tclUnixPort.h | |
parent | 72ae8dccf119510f1b175a9a2243a87069cef308 (diff) | |
parent | 07ba2fc47f5d9c888ccb11ca3666f215159b5f45 (diff) | |
download | tcl-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.h | 3 |
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); |