Skip to content

Commit

Permalink
fix: windowsビルドエラー修正
Browse files Browse the repository at this point in the history
std:optionalを参照出来ないエラー

Signed-off-by: Zenichi Amano <[email protected]>
  • Loading branch information
crow-misia committed Nov 28, 2024
1 parent bf9ac05 commit f9571cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Push-Location $WEBRTC_DIR
git apply --ignore-whitespace -p 2 $PATCH_DIR\add_licenses.patch
git apply --ignore-whitespace -p 2 $PATCH_DIR\windows_fix_towupper.patch
git apply --ignore-whitespace $PATCH_DIR\windows_fix_abseil.patch
git apply --ignore-whitespace $PATCH_DIR\windows_fix_optional.patch
Pop-Location
Pop-Location

Expand Down
10 changes: 10 additions & 0 deletions patch/windows_fix_optional.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/rtc_base/ssl_stream_adapter.h
+++ b/rtc_base/ssl_stream_adapter.h
@@ -15,6 +15,7 @@
#include <stdint.h>

#include <memory>
+#include <optional>
#include <string>
#include <vector>

0 comments on commit f9571cc

Please sign in to comment.