mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.
Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
This commit is contained in:
committed by
Brad King
parent
7fb2b80662
commit
5730710c86
@@ -13,6 +13,7 @@
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmDependsJavaLexer.h"
|
||||
#include <cmsys/FStream.hxx>
|
||||
|
||||
int cmDependsJava_yyparse( yyscan_t yyscanner );
|
||||
|
||||
@@ -412,7 +413,7 @@ int cmDependsJavaParserHelper::ParseFile(const char* file)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
std::ifstream ifs(file);
|
||||
cmsys::ifstream ifs(file);
|
||||
if ( !ifs )
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user