mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 15:34:47 +02:00
Fix mmdb library on Windows and use it by default
This commit is contained in:
@@ -275,6 +275,7 @@ DLL_FILES=\
|
||||
src/modules/geoip_base.dll \
|
||||
src/modules/geoip_classic.dll \
|
||||
src/modules/geoip_csv.dll \
|
||||
src/modules/geoip_mmdb.dll \
|
||||
src/modules/geoip-tag.dll \
|
||||
src/modules/globops.dll \
|
||||
src/modules/help.dll \
|
||||
|
||||
@@ -33,6 +33,9 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0601
|
||||
#endif
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#else
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
#define _WIN32_WINNT 0x0601
|
||||
|
||||
/* What geoip engine to use */
|
||||
#define GEOIP_ENGINE "geoip_classic"
|
||||
#define GEOIP_ENGINE "geoip_mmdb"
|
||||
|
||||
/* Generation version number (e.g.: 3 for Unreal3*) */
|
||||
#define UNREAL_VERSION_GENERATION 6
|
||||
|
||||
Reference in New Issue
Block a user