summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 13:51:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 13:51:21 (GMT)
commit788d06fcf3f90ffe105c77b3230be4f3fc1a62bd (patch)
treee86275675b2923b5745266c49a2cb0948a7d71a6 /win/tclWinPort.h
parentad9424f909976ade314404a44168e5c0eca6983e (diff)
parentfd1dbc086751dff48dbbbd4012e5f5ac0f46b06f (diff)
downloadtcl-788d06fcf3f90ffe105c77b3230be4f3fc1a62bd.zip
tcl-788d06fcf3f90ffe105c77b3230be4f3fc1a62bd.tar.gz
tcl-788d06fcf3f90ffe105c77b3230be4f3fc1a62bd.tar.bz2
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 f29b560..6d7ffa2 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -107,7 +107,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;