mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
OK, I hope the darn thing works on windows now
This commit is contained in:
@@ -105,3 +105,24 @@ intel:
|
|||||||
AC_SUBST(POSIX_LOBJ)
|
AC_SUBST(POSIX_LOBJ)
|
||||||
|
|
||||||
o rm pcre_printint.src
|
o rm pcre_printint.src
|
||||||
|
|
||||||
|
o Comment out some build configuration lines from pcre.h because Nmap
|
||||||
|
builds a static library:
|
||||||
|
--- pcre.h (revision 4133)
|
||||||
|
+++ pcre.h (working copy)
|
||||||
|
@@ -58,8 +58,9 @@
|
||||||
|
#define PCRE_DATE 04-Jul-2006
|
||||||
|
|
||||||
|
/* Win32 uses DLL by default; it needs special stuff for exported functions
|
||||||
|
-when building PCRE. */
|
||||||
|
+when building PCRE. -- COMMENTED OUT BECAUSE I COMPILE STATICALLY */
|
||||||
|
|
||||||
|
+/*
|
||||||
|
#ifdef _WIN32
|
||||||
|
# ifdef PCRE_DEFINITION
|
||||||
|
# ifdef DLL_EXPORT
|
||||||
|
@@ -71,6 +72,7 @@
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
+*/
|
||||||
|
|||||||
@@ -58,8 +58,9 @@ circumstance. */
|
|||||||
#define PCRE_DATE 04-Jul-2006
|
#define PCRE_DATE 04-Jul-2006
|
||||||
|
|
||||||
/* Win32 uses DLL by default; it needs special stuff for exported functions
|
/* Win32 uses DLL by default; it needs special stuff for exported functions
|
||||||
when building PCRE. */
|
when building PCRE. -- COMMENTED OUT BECAUSE I COMPILE STATICALLY */
|
||||||
|
|
||||||
|
/*
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# ifdef PCRE_DEFINITION
|
# ifdef PCRE_DEFINITION
|
||||||
# ifdef DLL_EXPORT
|
# ifdef DLL_EXPORT
|
||||||
@@ -71,6 +72,7 @@ when building PCRE. */
|
|||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
/* Otherwise, we use the standard "extern". */
|
/* Otherwise, we use the standard "extern". */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user