build: allow NTLM tests to run on more build configurations

This commit is contained in:
U-D5B1PQ1J\Administrador
2010-08-07 14:33:14 +02:00
parent 5c2b6b2d3e
commit 7d342c723c
6 changed files with 72 additions and 42 deletions

View File

@@ -356,6 +356,18 @@
# endif
#endif
/*
* Arg 2 type for gethostname in case it hasn't been defined in config file.
*/
#ifndef GETHOSTNAME_TYPE_ARG2
# ifdef USE_WINSOCK
# define GETHOSTNAME_TYPE_ARG2 int
# else
# define GETHOSTNAME_TYPE_ARG2 size_t
# endif
#endif
/* Below we define some functions. They should
4. set the SIGALRM signal timeout