mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
removed BSDFIX/BSDUFIX macros
This commit is contained in:
10
nmap.h
10
nmap.h
@@ -395,16 +395,6 @@ void *realloc();
|
||||
#define MAXHOSTNAMELEN 64
|
||||
#endif
|
||||
|
||||
#ifndef BSDFIX
|
||||
#if FREEBSD || BSDI || NETBSD
|
||||
#define BSDFIX(x) x
|
||||
#define BSDUFIX(x) x
|
||||
#else
|
||||
#define BSDFIX(x) htons(x)
|
||||
#define BSDUFIX(x) ntohs(x)
|
||||
#endif
|
||||
#endif /* BSDFIX */
|
||||
|
||||
#ifndef recvfrom6_t
|
||||
# define recvfrom6_t int
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user