Skip to content

Commit c80b87e

Browse files
committed
Update grpc patch to use /std:c++17
1 parent d4f01ba commit c80b87e

File tree

1 file changed

+1
-1
lines changed
  • extension/BuildPhpExtension/patches

1 file changed

+1
-1
lines changed

extension/BuildPhpExtension/patches/grpc.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ function CreateFolderIfMissing(path) {
1010
"@
1111
(Get-Content config.w32) | ForEach-Object { $_.Replace('base_dir+"\\ext\\grpc', 'base_dir+"') } | Set-Content config.w32
1212
(Get-Content config.w32) | ForEach-Object { $_.Replace('FSO.CreateFolder', 'CreateFolderIfMissing') } | Set-Content config.w32
13-
(Get-Content config.w32) | ForEach-Object { $_ -replace '/D_WIN32_WINNT=0x600', '/D_WIN32_WINNT=0x600 /FS /std:c11' } | Set-Content config.w32
13+
(Get-Content config.w32) | ForEach-Object { $_ -replace '/D_WIN32_WINNT=0x600', '/D_WIN32_WINNT=0x600 /FS /std:c++17' } | Set-Content config.w32
1414
(Get-Content config.w32) | ForEach-Object { $_.Replace('ARG_WITH("grpc", "grpc support", "no");', $fn) } | Set-Content config.w32

0 commit comments

Comments
 (0)