summaryrefslogtreecommitdiff
path: root/Source/cmDependsJavaLexer.in.l
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-28 17:46:47 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-28 17:46:47 -0500
commitca6fddec80a77dff075f2c103326e383d0c17e9c (patch)
tree8ac977c4d7519d510cca1f4a8f2d850a786aeb9e /Source/cmDependsJavaLexer.in.l
parent759ef8d424865cbb6ba3406832b57d63e6297098 (diff)
downloadcmake-ca6fddec80a77dff075f2c103326e383d0c17e9c.tar.gz
COMP: Another borland problem
Diffstat (limited to 'Source/cmDependsJavaLexer.in.l')
-rw-r--r--Source/cmDependsJavaLexer.in.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmDependsJavaLexer.in.l b/Source/cmDependsJavaLexer.in.l
index f77f7fd8b9..4eab54ebe9 100644
--- a/Source/cmDependsJavaLexer.in.l
+++ b/Source/cmDependsJavaLexer.in.l
@@ -67,7 +67,9 @@ Modify cmDependsJavaLexer.h:
#if defined( _WIN32 ) && !defined( __CYGWIN__ )
/* Handle Windows properly */
# include <io.h>
-# define isatty _isatty
+# if defined( _MSC_VER )
+# define isatty _isatty
+# endif
# define YY_NO_UNISTD_H 1
#endif