mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 17:39:03 +00:00
removed some warnings for windows-platforms
This commit is contained in:
@@ -2,7 +2,12 @@
|
||||
#define PCRE_H
|
||||
|
||||
#ifdef WIN32
|
||||
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||
#define _CRT_SECURE_NO_WARNINGS 1 /* otherwise msvc++ complains even for
|
||||
safe operations, and request us to use their str*_s() functions */
|
||||
#pragma warning(disable: 4996)
|
||||
#define vsnprintf _vsnprintf
|
||||
#define strdup _strdup
|
||||
#endif /* WIN32 */
|
||||
#define NSE_PCRELIBNAME "pcre"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user