Skip to content

Commit

Permalink
deps: fix Windows 11 SDK compilation
Browse files Browse the repository at this point in the history
Commit picked from protocolbuffers/protobuf@6469795

PR-URL: #222
Reviewed-By: Trevor Norris <[email protected]>
  • Loading branch information
santigimeno committed Nov 21, 2024
1 parent e78ded9 commit 04a1aa0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deps/grpc/third_party/upb/upb/message/internal/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 04a1aa0

Please sign in to comment.