mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Added an extra level of indirection to let the compiler properly expand the macro.
See: http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
This commit is contained in:
parent
832f815d33
commit
db4b8dc603
1 changed files with 2 additions and 1 deletions
3
nmap.h
3
nmap.h
|
|
@ -256,7 +256,8 @@ void *realloc();
|
|||
#define MAX_TIMEOUTS MAX_SOCKETS /* How many timed out connection attempts
|
||||
in a row before we decide the host is
|
||||
dead? */
|
||||
#define STR(X) #X
|
||||
#define _STR(X) #X
|
||||
#define STR(X) _STR(X)
|
||||
#define DEFAULT_TCP_PROBE_PORT 80 /* The ports TCP ping probes go to if
|
||||
unspecified by user -- uber hackers
|
||||
change this to 113 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue