mirror of
https://github.com/vacp2p/nim-ngtcp2.git
synced 2026-01-08 20:48:03 -05:00
fix: no inline on windows
This commit is contained in:
@@ -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".}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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".}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user