2
#define closesocket(s) close(s)
17
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
20
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
23
#ifndef HAVE_IN_PORT_T
24
typedef unsigned short in_port_t;
27
#ifndef HAVE_IN_ADDR_T
28
typedef unsigned int in_addr_t;
37
#define CONFDIR_CLAMD CONFDIR PATHSEP "clamd.conf"
38
#define CONFDIR_FRESHCLAM CONFDIR PATHSEP "freshclam.conf"
39
#define CONFDIR_MILTER CONFDIR PATHSEP "clamav-milter.conf"
41
/* Nothing is safe in windows, not even open */
42
#define safe_open open