diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-16 03:20:36 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-16 03:20:36 (GMT) |
commit | cf7f03e5229aa011e176589fbc71cf4fb259f897 (patch) | |
tree | 60147990e368609aa9e76ff088adc64fb2cb3626 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | e9b134b95ddc832979b2cf78aff68643139e5006 (diff) | |
download | CMake-cf7f03e5229aa011e176589fbc71cf4fb259f897.zip CMake-cf7f03e5229aa011e176589fbc71cf4fb259f897.tar.gz CMake-cf7f03e5229aa011e176589fbc71cf4fb259f897.tar.bz2 |
cmGlobalUnixMakefileGenerator3: Host the DefineWindowsNULL.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 3db0433..39b35a4 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -86,7 +86,6 @@ cmLocalUnixMakefileGenerator3(cmGlobalGenerator* gg, cmLocalGenerator* parent) this->MakefileVariableSize = 0; this->IgnoreLibPrefix = false; this->PassMakeflags = false; - this->DefineWindowsNULL = false; this->UnixCD = true; this->ColorMakefile = false; this->SkipPreprocessedSourceRules = false; @@ -719,7 +718,9 @@ cmLocalUnixMakefileGenerator3 makefileStream << "# Set environment variables for the build.\n" << "\n"; - if(this->DefineWindowsNULL) + cmGlobalUnixMakefileGenerator3* gg = + static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator); + if(gg->DefineWindowsNULL) { makefileStream << "!IF \"$(OS)\" == \"Windows_NT\"\n" |