From 3750396aedd155836f5bdd83fba8e62d459e3e98 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 17 Jan 2023 16:44:35 -0700 Subject: [PATCH] Re-enable the float/double versions of hton{d,f} on Windows --- src/net_util.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/net_util.h b/src/net_util.h index addb616874..be222a3dbd 100644 --- a/src/net_util.h +++ b/src/net_util.h @@ -283,7 +283,6 @@ inline uint64_t htonll(uint64_t i) #else -#ifndef _MSC_VER inline double ntohd(double d) { assert(sizeof(d) == 8); @@ -329,7 +328,6 @@ inline float htonf(float f) { return ntohf(f); } -#endif #ifndef HAVE_BYTEORDER_64 inline uint64_t ntohll(uint64_t i)