1
0
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:
stoiko
2007-08-14 20:11:06 +00:00
parent fc6f1d49ad
commit 396ee9bc32
2 changed files with 6 additions and 1 deletions

View File

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