summaryrefslogtreecommitdiff
path: root/pcre-7.4
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-12-17 15:47:25 -0500
committerDwight <dmerriman@gmail.com>2008-12-17 15:47:25 -0500
commit752dbb0f45fc6e8e67ceca2626dfc0d2508f73e7 (patch)
tree32ee76e0ded16cbb5d4fa78c82bf69082cc12a3d /pcre-7.4
parent1d8082574af3844607a882b8d953cd1843235509 (diff)
downloadmongo-752dbb0f45fc6e8e67ceca2626dfc0d2508f73e7.tar.gz
fix linker warnings for vc++
defensive code for cursors abouttodelete
Diffstat (limited to 'pcre-7.4')
-rw-r--r--pcre-7.4/pcre.h1
-rw-r--r--pcre-7.4/pcreposix.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/pcre-7.4/pcre.h b/pcre-7.4/pcre.h
index ecc0f8db323..098ae6d5739 100644
--- a/pcre-7.4/pcre.h
+++ b/pcre-7.4/pcre.h
@@ -52,6 +52,7 @@ export setting is defined in pcre_internal.h, which includes this file. So we
don't change existing definitions of PCRE_EXP_DECL and PCRECPP_EXP_DECL. */
#if defined(_WIN32) && !defined(PCRE_STATIC)
+#error why are we here?
# ifndef PCRE_EXP_DECL
# define PCRE_EXP_DECL extern __declspec(dllimport)
# endif
diff --git a/pcre-7.4/pcreposix.c b/pcre-7.4/pcreposix.c
index c88f65c705c..2409e435425 100644
--- a/pcre-7.4/pcreposix.c
+++ b/pcre-7.4/pcreposix.c
@@ -53,6 +53,7 @@ they are set for an application (using these functions) if they have not
previously been set. */
#if defined(_WIN32) && !defined(PCRE_STATIC)
+#error why are we here?
# define PCREPOSIX_EXP_DECL extern __declspec(dllexport)
# define PCREPOSIX_EXP_DEFN __declspec(dllexport)
#endif