Fix conditional compilation when the proper libs are not present

This commit is contained in:
David Maciejak 2019-03-20 11:35:35 +08:00
parent e57f97417d
commit 0d4bcb548f
2 changed files with 4 additions and 4 deletions

View file

@ -134,8 +134,6 @@ void service_mcached(char *ip, int32_t sp, unsigned char options, char *miscptr,
}
}
#endif
int32_t service_mcached_init(char *ip, int32_t sp, unsigned char options, char *miscptr, FILE * fp, int32_t port, char *hostname) {
// called before the childrens are forked off, so this is the function
// which should be filled if initial connections and service setup has to be
@ -177,3 +175,5 @@ int32_t service_mcached_init(char *ip, int32_t sp, unsigned char options, char *
sock = hydra_disconnect(sock);
return 0;
}
#endif