Skip to content

Commit 068c8f4

Browse files
committed
chore: make lpthread optional if using windows with clang
Also removes _WIN32_WINNT... maybe it's unneeded now?
1 parent 6ae249c commit 068c8f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lsquic/lsquic_ffi.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Copyright (c) Status Research & Development GmbH
33

44
when defined(windows):
5-
{.passc: "-D_WIN32_WINNT=0x0600".}
65
{.passl: "-lws2_32".}
7-
{.passl: "-lpthread".}
6+
when defined(clang):
7+
{.passl: "-lpthread".}
88

99
import std/[os, strformat, strutils]
1010
import chronos/osdefs

0 commit comments

Comments
 (0)