ENH: add stdlib.h for portability to borland 6

This commit is contained in:
Bill Hoffman 2003-05-24 10:07:58 -04:00
parent 5945a5a448
commit ca773a5d6d
8 changed files with 8 additions and 1 deletions

View File

@ -17,6 +17,7 @@
#include "cmAbstractFilesCommand.h" #include "cmAbstractFilesCommand.h"
#include "cmMakefile.h" #include "cmMakefile.h"
#include "cmSourceFile.h" #include "cmSourceFile.h"
#include <stdlib.h> // required for atof
// cmAbstractFilesCommand // cmAbstractFilesCommand
bool cmAbstractFilesCommand::InitialPass(std::vector<std::string> const& args) bool cmAbstractFilesCommand::InitialPass(std::vector<std::string> const& args)

View File

@ -15,7 +15,7 @@
=========================================================================*/ =========================================================================*/
#include "cmEndIfCommand.h" #include "cmEndIfCommand.h"
#include <stdlib.h> // required for atof
bool cmEndIfCommand::InitialPass(std::vector<std::string> const&) bool cmEndIfCommand::InitialPass(std::vector<std::string> const&)
{ {
const char* versionValue const char* versionValue

View File

@ -18,6 +18,7 @@
#include "cmLocalGenerator.h" #include "cmLocalGenerator.h"
#include "cmake.h" #include "cmake.h"
#include "cmMakefile.h" #include "cmMakefile.h"
#include <stdlib.h> // required for atof
cmGlobalGenerator::cmGlobalGenerator() cmGlobalGenerator::cmGlobalGenerator()
{ {

View File

@ -15,6 +15,7 @@
=========================================================================*/ =========================================================================*/
#include "cmIfCommand.h" #include "cmIfCommand.h"
#include <stdlib.h> // required for atof
bool cmIfFunctionBlocker:: bool cmIfFunctionBlocker::
IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf) IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf)

View File

@ -15,6 +15,7 @@
=========================================================================*/ =========================================================================*/
#include "cmSourceFilesCommand.h" #include "cmSourceFilesCommand.h"
#include <stdlib.h> // required for atof
// cmSourceFilesCommand // cmSourceFilesCommand
bool cmSourceFilesCommand::InitialPass(std::vector<std::string> const& args) bool cmSourceFilesCommand::InitialPass(std::vector<std::string> const& args)

View File

@ -15,6 +15,7 @@
=========================================================================*/ =========================================================================*/
#include "cmSourceFilesRemoveCommand.h" #include "cmSourceFilesRemoveCommand.h"
#include <stdlib.h> // required for atof
// cmSourceFilesRemoveCommand // cmSourceFilesRemoveCommand
bool cmSourceFilesRemoveCommand::InitialPass(std::vector<std::string> const& args) bool cmSourceFilesRemoveCommand::InitialPass(std::vector<std::string> const& args)

View File

@ -20,6 +20,7 @@
#include <map> #include <map>
#include <set> #include <set>
#include <stdlib.h> // required for atof
void cmTarget::SetType(TargetType type) void cmTarget::SetType(TargetType type)

View File

@ -15,6 +15,7 @@
=========================================================================*/ =========================================================================*/
#include "cmWrapExcludeFilesCommand.h" #include "cmWrapExcludeFilesCommand.h"
#include <stdlib.h> // required for atof
// cmWrapExcludeFilesCommand // cmWrapExcludeFilesCommand
bool cmWrapExcludeFilesCommand::InitialPass(std::vector<std::string> const& argsIn) bool cmWrapExcludeFilesCommand::InitialPass(std::vector<std::string> const& argsIn)