summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/handle.c
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2006-05-23 16:38:22 (GMT)
committerDavid Cole <david.cole@kitware.com>2006-05-23 16:38:22 (GMT)
commit13a68cd97888d451d9f40b61891709af1648432b (patch)
tree8cf57a71bc01c1890e8f56ffecb3a85d208ceafe /Utilities/cmtar/handle.c
parent35334d01cdf533262c1fad9bfcd7794afaaf6d09 (diff)
downloadCMake-13a68cd97888d451d9f40b61891709af1648432b.zip
CMake-13a68cd97888d451d9f40b61891709af1648432b.tar.gz
CMake-13a68cd97888d451d9f40b61891709af1648432b.tar.bz2
COMP: Fix warnings on Borland dashboards...
Diffstat (limited to 'Utilities/cmtar/handle.c')
-rw-r--r--Utilities/cmtar/handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmtar/handle.c b/Utilities/cmtar/handle.c
index 4f6dd10..a86bbc5 100644
--- a/Utilities/cmtar/handle.c
+++ b/Utilities/cmtar/handle.c
@@ -24,7 +24,7 @@
# include <stdlib.h>
#endif
-#if defined ( _MSC_VER) || defined(__WATCOMC__)
+#ifdef HAVE_IO_H
#include <io.h>
//Yogi: hack. this should work on windows where there is no O_ACCMODE defined
#ifndef O_ACCMODE