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 <trev.norris@gmail.com>
PR-URL: #224
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
  • Loading branch information
santigimeno committed Nov 21, 2024
1 parent 3dbbe29 commit 3ab5174
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 3ab5174

Please sign in to comment.