fix: no inline on windows

This commit is contained in:
Richard Ramos
2025-03-24 21:02:14 -04:00
parent eb04494047
commit 9456daa178
3 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ import nativesockets
when defined(windows):
{.passl: "-lws2_32".}
{.passc: "-D_WINDOWS".}
{.passc: "-D__CRT__NO_INLINE".}
else:
{.passc: "-DHAVE_UNISTD_H".}

View File

@@ -1,5 +1,5 @@
packageName = "ngtcp2"
version = "0.36.0"
version = "0.36.1"
author = "Status Research & Development GmbH"
description = "Nim wrapper around the ngtcp2 library"
license = "MIT"

View File

@@ -9,6 +9,7 @@ import nativesockets
when defined(windows):
{.passl: "-lws2_32".}
{.passc: "-D_WINDOWS".}
{.passc: "-D__CRT__NO_INLINE".}
else:
{.passc: "-DHAVE_UNISTD_H".}