diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-27 16:24:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-27 16:24:30 (GMT) |
commit | 0a00f85f84c7117557104cdd16c161c409a6c8d5 (patch) | |
tree | ad78214db4f8ce5aebd346c121e66628a2db21e7 /unix/tclUnixPort.h | |
parent | 5c2d281edc798baa53966b4b5a9eadcb6a2e9ac9 (diff) | |
download | tcl-0a00f85f84c7117557104cdd16c161c409a6c8d5.zip tcl-0a00f85f84c7117557104cdd16c161c409a6c8d5.tar.gz tcl-0a00f85f84c7117557104cdd16c161c409a6c8d5.tar.bz2 |
Looks like this little hack is no longer necessary on current 32-bit Cygwin.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 20e1ddc..0ae4f25 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -86,7 +86,6 @@ typedef off_t Tcl_SeekOffset; #endif #ifdef __CYGWIN__ - /* Make some symbols available without including <windows.h> */ # define DWORD unsigned int # define CP_UTF8 65001 @@ -107,13 +106,7 @@ typedef off_t Tcl_SeekOffset; __declspec(dllimport) extern __stdcall int GetLastError(void); __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); -/* On Cygwin, the environment is imported from the Cygwin DLL. */ -#ifndef __x86_64__ -# define environ __cygwin_environ - extern char **__cygwin_environ; -#endif # define timezone _timezone extern int TclOSstat(const char *name, void *statBuf); extern int TclOSlstat(const char *name, void *statBuf); |