This commit is contained in:
henderkes 2025-10-21 14:26:44 +02:00
parent 4e393886aa
commit 96592bce3e

View File

@ -11,9 +11,9 @@ trait libedit
{ {
public function patchBeforeBuild(): bool public function patchBeforeBuild(): bool
{ {
FileSystem::replaceFileStr( FileSystem::replaceFileRegex(
$this->source_dir . '/src/sys.h', $this->source_dir . '/src/sys.h',
'//#define strl', '|//#define\s+strl|',
'#define strl' '#define strl'
); );
return true; return true;