diff --git a/libpcre/NMAP_MODIFICATIONS b/libpcre/NMAP_MODIFICATIONS index 94b2b9650..58eb28b61 100644 --- a/libpcre/NMAP_MODIFICATIONS +++ b/libpcre/NMAP_MODIFICATIONS @@ -105,3 +105,24 @@ intel: AC_SUBST(POSIX_LOBJ) 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 ++*/ diff --git a/libpcre/pcre.h b/libpcre/pcre.h index 7a7051ca1..8ca3aab1a 100644 --- a/libpcre/pcre.h +++ b/libpcre/pcre.h @@ -58,8 +58,9 @@ circumstance. */ #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 @@ when building PCRE. */ # endif # endif #endif +*/ /* Otherwise, we use the standard "extern". */