summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
Commit message (Collapse)AuthorAgeFilesLines
* Slight tweak to previous commit: Move definition of __USE_MINGW_ANSI_STDIO ↵jan.nijtmans2020-10-291-4/+0
| | | | to the Makefile
* (cherry-pick): Fix [c975939973]: Usage of gnu_printf in latest mingw-w64. jan.nijtmans2020-10-221-0/+4
| | | Change (internal, windows-only) TCL_I_MODIFIER to TCL_Z_MODIFIER, since that's how it's called in Tcl 8.7 and up
* (cherry-pick): Fix [014ade1d44]: Misleading error message when using "-path" ↵jan.nijtmans2020-10-091-3/+3
| | | | | multiple times with "glob". Also fix a few (harmless) -Wundef warnings
* Update .travis.yml: remove deprecated "sudo" and rename "matrix" to "jobs"jan.nijtmans2020-08-121-1/+3
| | | Fix travis build for Windows/Debug
* Only use OPTS=msvcrt in combination with "static", otherwise it's a NOOP. ↵jan.nijtmans2019-12-161-0/+1
| | | | Disable pragma warning:C4146 (backported from 8.6), since it only gives misleading warnings.
* On win32, include <inttypes.h> if available, just as on UNIX. jan.nijtmans2019-11-111-5/+11
| | | Disable compiler warning C4244 on all Microsoft compiler versions, not just the latest ones.
* Don't let Tcl depend on USE_32BIT_TIME_T any more: If your compiler supports ↵jan.nijtmans2019-09-061-5/+1
| | | | | it, time_t will be 64-bit internally. But at API-level, time_t will still be restricted to 32-bit on Win32 (Not on Win64). This keeps Tcl_StatBuf the same (unless USE_64BIT_TIME_T is defined), so 64-bit times still cannot be used everywhere.
* little tweaks, makeing it possible to use either _USE_64BIT_TIME_T or ↵jan.nijtmans2019-07-101-10/+7
| | | | | __MINGW_USE_VC2005_COMPAT interchangably. Put some more remarks, making it more clear what the effect of this is.
* win/x86: compat fix, 64-bit time_t for 32-build is optional now (via ↵sebres2019-07-101-4/+6
| | | | configure/make option time64bit or define _USE_64BIT_TIME_T)
* fixes [4718b41c56] for windows x86 (mingw / MSVC versions with CRT ↵sebres2019-07-081-3/+8
| | | | supporting 64-bit time_t)
* squelch some warnings on higher Visual Studio versions: we are not going to ↵jan.nijtmans2018-10-291-0/+2
| | | | bother on this any more.
* Unbreak build when HAVE_FTS is not set. jan.nijtmans2018-05-141-0/+3
| | | Move definitions of Tcl_DirEntry and TclDIR to tclWinPort.h, where it actually belongs
* Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c ↵jan.nijtmans2014-10-081-4/+4
| | | | | does not compile with MSVC14. Eliminate use of __MINGW32__ macro everywhare, as it is deprecated.
* Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-9/+0
| | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
* Don't use deprecated stricmp/strnicmp any more, but underscored variant for ↵jan.nijtmans2013-06-141-5/+3
| | | | non-GNU compilers.
* Silence various warnings when doing a 64-bit build with MSVC: Those warnings ↵jan.nijtmans2013-06-121-4/+6
| | | | can only _really_ be fixed in "novem" (so, don't silence them there)
* Improve compatibility detection for <time.h> and <sys/stat.h>: jan.nijtmans2013-06-111-2/+1
| | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
* Remove wrapper macro for ntohs(): unnecessary, because it doesn't require an ↵jan.nijtmans2012-08-201-1/+0
| | | | initialized winsock_2 library
* Reference to correct Bug #numberjan.nijtmans2012-08-061-1/+1
|\
* \ [Bug 3511806] Compiler checks too earlyjan.nijtmans2012-03-301-6/+1
|\ \ | |/ | | (autoconf still to be run!)
| * [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-201-36/+3
| | | | | | (backported from Tcl 8.5)
* | xjan.nijtmans2012-03-151-46/+9
| |
* | DWORD_PTR typedef after <windows.h>jan.nijtmans2012-03-071-4/+4
|\ \ | |/
| * DWORD_PTR typedef after <windows.h>jan.nijtmans2012-03-071-6/+6
| |
* | Compatibility with older Visual Studio versionsjan.nijtmans2012-03-061-0/+6
|\ \ | |/
| * Compatibility with older Visual Studio versionsjan.nijtmans2012-03-061-0/+6
| |
* | mingw doesn't have LABEL_SECURITY_INFORMATION definitionjan.nijtmans2012-02-031-0/+4
|\ \ | |/
| * mingw doesn't have LABEL_SECURITY_INFORMATION definitionjan.nijtmans2012-02-031-0/+4
| |
* | Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-211-8/+2
|\ \ | |/
| * [Bug-3474726] minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-191-8/+2
| |
* | [Bug 2935503] Windows: file mtime sets wrong time (VS2005+ only)jan.nijtmans2011-11-221-0/+5
|\ \ | |/
* | [Bug 3407070] tclPosixStr.c won't build with EOVERFLOW==E2BIGjan.nijtmans2011-09-121-116/+82
|\ \ | |/
| * Make compilable in Visual Studio againjan.nijtmans2011-09-121-0/+7
| |
| * [Bug 3407070] tclPosixStr.c won't build with EOVERFLOW==E2BIGjan.nijtmans2011-09-121-116/+75
| |
* | mingw64 compiler warnings. Reverse the detection of struct _stat32i64, jan.nijtmans2011-08-151-1/+1
|\ \ | |/ | | otherwise when mingw doesn't have it, tclTest.c cannot be compiled
| * [Bug 3388350] mingw64 compiler warnings. jan.nijtmans2011-08-151-1/+1
| | | | | | | | Reverse the detection of struct _stat32i64, otherwise when mingw doesn't have it, tclTest.c cannot be compiled
* | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-1/+1
|\ \ | |/
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-1/+1
| |
* | [Bug 3372130] Fix hypot math function with MSVC10jan.nijtmans2011-07-211-1/+3
|\ \ | |/
| * oops, leftover end commentjan.nijtmans2011-07-211-1/+1
| |
| * [Bug 3372130] Fix hypot math function with MSVC10jan.nijtmans2011-07-211-1/+3
| |
* | [Bug 3288345]: Bring cygwin Tcl_StatBuf a little closer to realityjan2011-04-211-3/+9
|\ \ | |/
| * [Bug 3288345]: Bring cygwin Tcl_StatBuf a little closer to realityjan2011-04-211-3/+9
| |
* | fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW.jan.nijtmans2011-04-211-0/+19
|\ \ | |/ | | | | | | Make sure that all _WIN32 compilers use exactly the same layout for Tcl_StatBuf - the one used by MSVC6 - in all situations.
| * fix for [Bug 3288345]: Wrong Tcl_StatBufused on MinGW.jan.nijtmans2011-04-211-0/+19
| | | | | | | | Make sure that all _WIN32 compilers use exactly the same layout for Tcl_StatBuf - the one used by MSVC6 - in all situations.
* | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ \ | |/ | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * * win/tclWinPipe.c: Applied patch #1267871 by Matt Newman whichpatthoyts2005-11-041-5/+5
| | | | | | | | | | * win/tclWinPort.h: provides extended error code support. * tests/exec.test: Wrote some tests for this feature.
| * * win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1hobbs2005-10-051-2/+3
| | | | | | | | | | | | | | | | | | | | * generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for various systems that have putenv(), but can't unset env vars with it. Note difference between Windows and Linux for actually unsetting the env var (use of '='). Correct the resizing of the environ array. We assume that we are in full ownership, but that's not correct.[Bug 979640]
* | [Bug 2991415]: tclport.h #included before limits.hnijtmans2010-05-251-8/+2
| |