summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 13:46:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 13:46:34 (GMT)
commitfd1dbc086751dff48dbbbd4012e5f5ac0f46b06f (patch)
tree42cd5987cfd935b78f4d0ea5297658a6801eb248 /win/tclWinPort.h
parent092dd70e63fd7c5fcc9526b06c1242322378d492 (diff)
downloadtcl-fd1dbc086751dff48dbbbd4012e5f5ac0f46b06f.zip
tcl-fd1dbc086751dff48dbbbd4012e5f5ac0f46b06f.tar.gz
tcl-fd1dbc086751dff48dbbbd4012e5f5ac0f46b06f.tar.bz2
[Bug 3388350] mingw64 compiler warnings.
Reverse the detection of struct _stat32i64, otherwise when mingw doesn't have it, tclTest.c cannot be compiled
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index be5058c..f14e1a9 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -97,7 +97,7 @@
/*
* Not all mingw32 versions have this struct.
*/
-#if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && !defined(HAVE_STRUCT_STAT32I64) && defined(BUILD_tcl)
+#if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && defined(HAVE_NO_STRUCT_STAT32I64)
struct _stat32i64 {
dev_t st_dev;
ino_t st_ino;