1
0
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:
fyodor
2005-07-27 02:34:14 +00:00
parent 8aa16ebc8d
commit f071c68e07
3 changed files with 7 additions and 23 deletions

10
nmap.h
View File

@@ -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