mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 18:33:16 +00:00
22 lines
322 B
C
22 lines
322 B
C
![]() |
#ifndef _WIN32
|
||
|
#define closesocket(s) close(s)
|
||
|
#endif
|
||
|
|
||
|
#ifndef O_BINARY
|
||
|
#define O_BINARY 0
|
||
|
#endif
|
||
|
|
||
|
#ifndef FALSE
|
||
|
#define FALSE (0)
|
||
|
#endif
|
||
|
#ifndef TRUE
|
||
|
#define TRUE (1)
|
||
|
#endif
|
||
|
|
||
|
#ifndef MIN
|
||
|
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||
|
#endif
|
||
|
#ifndef MAX
|
||
|
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
|
||
|
#endif
|