pull out upnp as default
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1402 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
a66f0483b2
commit
624f5b09c1
@ -45,18 +45,19 @@ time_t tick_;
|
|||||||
time_t stall_time_ = 60;
|
time_t stall_time_ = 60;
|
||||||
int ip_rules = 1;
|
int ip_rules = 1;
|
||||||
|
|
||||||
#define UPNP
|
// #define UPNP
|
||||||
|
|
||||||
#ifdef UPNP
|
#ifdef UPNP
|
||||||
#if defined(CYGWIN) || defined(_WIN32)
|
#if defined(CYGWIN) || defined(_WIN32)
|
||||||
DLL upnp_dll;
|
DLL upnp_dll;
|
||||||
int (*upnp_init)();
|
int (*upnp_init)();
|
||||||
int (*upnp_final)();
|
int (*upnp_final)();
|
||||||
int (*firewall_addport)(char *desc, int port);
|
int (*firewall_addport)(char *desc, int port);
|
||||||
int (*upnp_addport)(char *desc, char *ip, int port);
|
int (*upnp_addport)(char *desc, char *ip, int port);
|
||||||
extern char server_type[24];
|
extern char server_type[24];
|
||||||
#else
|
#else
|
||||||
#error This doesnt work with non-Windows yet
|
#error This doesnt work with non-Windows yet
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int rfifo_size = 65536;
|
int rfifo_size = 65536;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user