mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
a bunch of small patches by Kris Katterjohn
This commit is contained in:
8
utils.h
8
utils.h
@@ -273,15 +273,7 @@ int numberlist2array(char *expr, u16 *dest, int destsize, char **errorstr,
|
||||
char *mmapfile(char *fname, int *length, int openflags);
|
||||
|
||||
#ifdef WIN32
|
||||
#define PROT_READ 0x1 /* page can be read */
|
||||
#define PROT_WRITE 0x2 /* page can be written */
|
||||
#define PROT_EXEC 0x4 /* page can be executed */
|
||||
#define PROT_NONE 0x0 /* page can not be accessed */
|
||||
|
||||
#define MAP_SHARED 0x01 /* Share changes */
|
||||
|
||||
int win32_munmap(char *filestr, int filelen);
|
||||
|
||||
#endif /* WIN32 */
|
||||
|
||||
#endif /* UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user