-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MINIFICPP-2491 Upgrade GRPC and Abseil libs
Fixes Windows build CI failure Closes #1897 Signed-off-by: Marton Szasz <[email protected]>
- Loading branch information
Showing
10 changed files
with
508 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
diff --git a/third_party/protobuf/upb/message/internal/message.c b/third_party/protobuf/upb/message/internal/message.c | ||
index 57ab2d737..5f321c7bb 100644 | ||
--- a/third_party/protobuf/upb/message/internal/message.c | ||
+++ b/third_party/protobuf/upb/message/internal/message.c | ||
@@ -17,9 +17,9 @@ | ||
// Must be last. | ||
#include "upb/port/def.inc" | ||
|
||
-const float kUpb_FltInfinity = INFINITY; | ||
-const double kUpb_Infinity = INFINITY; | ||
-const double kUpb_NaN = NAN; | ||
+const float kUpb_FltInfinity = (float)(1.0 / 0.0); | ||
+const double kUpb_Infinity = 1.0 / 0.0; | ||
+const double kUpb_NaN = 0.0 / 0.0; | ||
|
||
bool UPB_PRIVATE(_upb_Message_Realloc)(struct upb_Message* msg, size_t need, | ||
upb_Arena* a) { | ||
diff --git a/third_party/upb/upb/message/internal/message.c b/third_party/upb/upb/message/internal/message.c | ||
index 57ab2d737..5f321c7bb 100644 | ||
--- a/third_party/upb/upb/message/internal/message.c | ||
+++ b/third_party/upb/upb/message/internal/message.c | ||
@@ -17,9 +17,9 @@ | ||
// Must be last. | ||
#include "upb/port/def.inc" | ||
|
||
-const float kUpb_FltInfinity = INFINITY; | ||
-const double kUpb_Infinity = INFINITY; | ||
-const double kUpb_NaN = NAN; | ||
+const float kUpb_FltInfinity = (float)(1.0 / 0.0); | ||
+const double kUpb_Infinity = 1.0 / 0.0; | ||
+const double kUpb_NaN = 0.0 / 0.0; | ||
|
||
bool UPB_PRIVATE(_upb_Message_Realloc)(struct upb_Message* msg, size_t need, | ||
upb_Arena* a) { | ||
|
Oops, something went wrong.