From f33c01b98aa02847d3e74479291a206f5af6a55d Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 27 Jan 2004 09:05:31 -0500 Subject: [PATCH] ERR: And yet another set of constants for file permissions --- Source/cmFileCommand.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 6d1fd19af..a258616dc 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -344,8 +344,10 @@ bool cmFileCommand::HandleInstallCommand(std::vector const& args) case cmTarget::EXECUTABLE: if ( !cmSystemTools::SetPermissions(destfile.c_str(), -#ifdef _MSC_VER +#if defined( _MSC_VER ) S_IREAD | S_IWRITE | S_IEXEC +#elif defined( __BORLANDC__ ) + S_IRUSR | S_IWUSR | S_IXUSR #else S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP |