add NOHOLEPUNCH flag to disable holepunch entirely

This commit is contained in:
Alug committed 2025-10-27 22:58:17 +01:00
1 parent 862fb0e86a
commit b80ce40f0d
3 files changed
+5 -1

No files matched your search

+1
View File
@@ -49,6 +49,7 @@
# Already enabled by default for 32-bit
# Windows.
# NOCURL=1 - Disable libcurl--HTTP capability.
# NOHOLEPUNCH=1 - Disable holepunch capability.
# NOLIBGME=1 - Disable game music emu, retro VGM support.
# NOOPENMPT=1 - Disable module (tracker) music support.
# NOMIXER=1 - Disable SDL Mixer (audio playback).
+1
View File
@@ -7,6 +7,7 @@ passthru_opts+=\
MOBJCONSISTANCY PACKETDROP ZDEBUG\
HAVE_MINIUPNPC\
HAVE_DISCORDRPC DEVELOP\
NOHOLEPUNCH\
HAVE_BLUAJIT
# build with debugging information
+3 -1
View File
@@ -653,7 +653,9 @@ extern const char *compdate, *comptime, *comprevision, *compbranch;
#if defined (HAVE_CURL)
#define MASTERSERVER
//#define HOLEPUNCH
#ifndef NOHOLEPUNCH
#define HOLEPUNCH
#endif
#else
#undef UPDATE_ALERT
#endif