summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 0b12ce5..d816726 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -644,7 +644,7 @@ int cmake::Configure(const char *arg0, const std::vector<std::string>* args)
}
else
{
-#if defined(__BORLANDC__)
+#if defined(__BORLANDC__) && defined(_WIN32)
this->SetGlobalGenerator(new cmGlobalBorlandMakefileGenerator);
#elif defined(_WIN32) && !defined(__CYGWIN__)
this->SetGlobalGenerator(new cmGlobalVisualStudio6Generator);