Borland: No S_IWGRP is available
This commit is contained in:
parent
85cbdaade2
commit
cae85c9f65
@ -191,6 +191,8 @@ bool cmFileCommand::HandleWriteCommand(std::vector<std::string> const& args,
|
|||||||
cmSystemTools::SetPermissions(fileName.c_str(),
|
cmSystemTools::SetPermissions(fileName.c_str(),
|
||||||
#if defined( _MSC_VER ) || defined( __MINGW32__ )
|
#if defined( _MSC_VER ) || defined( __MINGW32__ )
|
||||||
mode | S_IWRITE
|
mode | S_IWRITE
|
||||||
|
#elif defined( __BORLANDC__ )
|
||||||
|
mode | S_IWUSR
|
||||||
#else
|
#else
|
||||||
mode | S_IWUSR | S_IWGRP
|
mode | S_IWUSR | S_IWGRP
|
||||||
#endif
|
#endif
|
||||||
|
@ -62,6 +62,8 @@ bool cmWriteFileCommand
|
|||||||
cmSystemTools::SetPermissions(fileName.c_str(),
|
cmSystemTools::SetPermissions(fileName.c_str(),
|
||||||
#if defined( _MSC_VER ) || defined( __MINGW32__ )
|
#if defined( _MSC_VER ) || defined( __MINGW32__ )
|
||||||
mode | S_IWRITE
|
mode | S_IWRITE
|
||||||
|
#elif defined( __BORLANDC__ )
|
||||||
|
mode | S_IWUSR
|
||||||
#else
|
#else
|
||||||
mode | S_IWUSR | S_IWGRP
|
mode | S_IWUSR | S_IWGRP
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user