Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f9fd9cf

Browse files
committed
Merge pull request #1924 from JohnChen0/release/1.0.0-rc1
Fix a crossgen assert on Linux
2 parents a27d5cc + 6093461 commit f9fd9cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilcode/sstring_com.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ HRESULT SString::LoadResourceAndReturnHR(CCompRC* pResourceDLL, CCompRC::Resourc
3939

4040
HRESULT hr = E_FAIL;
4141

42-
#ifndef FEATURE_UTILCODE_NO_DEPENDENCIES
42+
#if !defined(FEATURE_UTILCODE_NO_DEPENDENCIES) && !(defined(CROSSGEN_COMPILE) && defined(PLATFORM_UNIX))
4343
if (pResourceDLL == NULL)
4444
{
4545
pResourceDLL = CCompRC::GetDefaultResourceDll();

0 commit comments

Comments
 (0)