SWDEV-407818 - Fixed bug when opening LinkerFile fstream on windows

Change-Id: If6f083d9fa83066eb2b20ab24dceaa9df7a2f0a0


[ROCm/clr commit: 791cea44f1]
이 커밋은 다음에 포함됨:
Ioannis Assiouras가 2023-07-07 13:25:04 -04:00를 커밋했습니다
1 부모 73c16500c4
커밋 41381e9557
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -598,7 +598,7 @@ bool RTCLinkProgram::AddLinkerDataImpl(std::vector<char>& link_data, hiprtcJITIn
}
bool RTCLinkProgram::AddLinkerFile(std::string file_path, hiprtcJITInputType input_type) {
std::ifstream file_stream{file_path};
std::ifstream file_stream{file_path, std::ios_base::in | std::ios_base::binary};
if (!file_stream.good()) {
return false;
}