diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-03-26 10:37:57 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-03-26 10:37:57 (GMT) |
| commit | c98af73fdd1b47c28da3208a99bc3871145c8cae (patch) | |
| tree | 8adb225a430045a8e9e9e52e0eaf6e0230324a9f /unix/tclUnixPort.h | |
| parent | da28a0168a84b3b496370d5ef2820e0797a9ed33 (diff) | |
| download | tcl-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.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); |
