From f9a36a6ff9b00a6dcecc66e681f4a9ec48eb8c5c Mon Sep 17 00:00:00 2001 From: Will Schroeder Date: Thu, 17 May 2001 15:48:32 -0400 Subject: [PATCH] ERR:Bad #ifdef's --- Source/cmSystemTools.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 8a0bacf65..447da7c8f 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -176,7 +176,7 @@ void cmSystemTools::ReplaceString(std::string& source, } } -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__CYGWIN__) // Get the data of key value. // Example : @@ -255,7 +255,7 @@ bool ReadAValue(std::string &res, const char *key) // write the result into source. void cmSystemTools::ExpandRegistryValues(std::string& source) { -#if _WIN32 +#if defined(_WIN32) && !defined(__CYGWIN__) cmRegularExpression regEntry("\\[(HKEY[A-Za-z0-9_~\\:\\-\\(\\)\\.]*)\\]"); // check for black line or comment