ERR:Bad #ifdef's
This commit is contained in:
parent
43fb9a11b5
commit
f9a36a6ff9
@ -176,7 +176,7 @@ void cmSystemTools::ReplaceString(std::string& source,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
|
|
||||||
// Get the data of key value.
|
// Get the data of key value.
|
||||||
// Example :
|
// Example :
|
||||||
@ -255,7 +255,7 @@ bool ReadAValue(std::string &res, const char *key)
|
|||||||
// write the result into source.
|
// write the result into source.
|
||||||
void cmSystemTools::ExpandRegistryValues(std::string& source)
|
void cmSystemTools::ExpandRegistryValues(std::string& source)
|
||||||
{
|
{
|
||||||
#if _WIN32
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
cmRegularExpression regEntry("\\[(HKEY[A-Za-z0-9_~\\:\\-\\(\\)\\.]*)\\]");
|
cmRegularExpression regEntry("\\[(HKEY[A-Za-z0-9_~\\:\\-\\(\\)\\.]*)\\]");
|
||||||
|
|
||||||
// check for black line or comment
|
// check for black line or comment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user