1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

Fix mmdb library on Windows and use it by default

This commit is contained in:
Bram Matthys
2026-04-10 17:44:36 +02:00
parent 3c71a03781
commit a89f098a22
3 changed files with 7 additions and 3 deletions
+1
View File
@@ -275,6 +275,7 @@ DLL_FILES=\
src/modules/geoip_base.dll \ src/modules/geoip_base.dll \
src/modules/geoip_classic.dll \ src/modules/geoip_classic.dll \
src/modules/geoip_csv.dll \ src/modules/geoip_csv.dll \
src/modules/geoip_mmdb.dll \
src/modules/geoip-tag.dll \ src/modules/geoip-tag.dll \
src/modules/globops.dll \ src/modules/globops.dll \
src/modules/help.dll \ src/modules/help.dll \
+3
View File
@@ -33,6 +33,9 @@
#include <stddef.h> #include <stddef.h>
#ifdef _WIN32 #ifdef _WIN32
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0601
#endif
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
#else #else
+1 -1
View File
@@ -63,7 +63,7 @@
#define _WIN32_WINNT 0x0601 #define _WIN32_WINNT 0x0601
/* What geoip engine to use */ /* What geoip engine to use */
#define GEOIP_ENGINE "geoip_classic" #define GEOIP_ENGINE "geoip_mmdb"
/* Generation version number (e.g.: 3 for Unreal3*) */ /* Generation version number (e.g.: 3 for Unreal3*) */
#define UNREAL_VERSION_GENERATION 6 #define UNREAL_VERSION_GENERATION 6