upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/makefile.mingw
diff options
context:
space:
mode:
authorNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-11 16:38:49 -0300
committerNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-11 16:38:49 -0300
commitc5f6b52c0d1d65f7bf8cd745a7a212bc6b2fe318 (patch)
tree7ad2835cd6cdca8808b202036525d0cde2380607 /src/makefile.mingw
parenta83fae37099cb102beb5a4c174a4abe6ef3f24a4 (diff)
net: replace peer select loop with poll
Diffstat (limited to 'src/makefile.mingw')
-rw-r--r--src/makefile.mingw7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/makefile.mingw b/src/makefile.mingw
index b946e50..678d2e8 100644
--- a/src/makefile.mingw
+++ b/src/makefile.mingw
@@ -14,13 +14,8 @@ WARNFLAGS = -Wformat -Werror=format \
14 -Wno-deprecated-declarations -Wno-write-strings \ 14 -Wno-deprecated-declarations -Wno-write-strings \
15 -Wno-narrowing -Wno-unused-result 15 -Wno-narrowing -Wno-unused-result
16 16
17# FD_SETSIZE has to be defined before winsock2.h and it has to be the same
18# number in every translation unit -- fd_set carries an array of that length,
19# so disagreeing about it means disagreeing about sizeof(fd_set). That is why
20# it lives here as a -D and not as a #define in a header. Windows defaults to
21# 64, which capped this node at 63 watchable peers no matter how many it had.
22CXXFLAGS = -std=gnu++14 -O2 $(WARNFLAGS) -fpermissive -pthread \ 17CXXFLAGS = -std=gnu++14 -O2 $(WARNFLAGS) -fpermissive -pthread \
23 -DWIN32 -DNOPCH -DFD_SETSIZE=1024 \ 18 -DWIN32 -DNOPCH \
24 -DSECP256K1_STATIC \ 19 -DSECP256K1_STATIC \
25 -I$(DEPS)/include -I$(RANDOMX)/src \ 20 -I$(DEPS)/include -I$(RANDOMX)/src \
26 -I$(DEPS)/include/nlohmann \ 21 -I$(DEPS)/include/nlohmann \