summaryrefslogtreecommitdiff
path: root/pcre_version.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2008-07-09 16:20:19 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2008-07-09 16:20:19 +0000
commit4e445de088852324fd84d761b4ec89647722d595 (patch)
treea74e7e14678f6b06ebb2d8e1a6fdbb9ca213bd68 /pcre_version.c
parent952b13a4b1c7fa5517937470b9752c7530dde2d6 (diff)
downloadpcre-4e445de088852324fd84d761b4ec89647722d595.tar.gz
Add PCRE_CALL_CONVENTION for MSVC users; add some missing PCRE_EXP_DEFNs.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@359 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_version.c')
-rw-r--r--pcre_version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_version.c b/pcre_version.c
index 697b44b..7067cd4 100644
--- a/pcre_version.c
+++ b/pcre_version.c
@@ -79,7 +79,7 @@ I could find no way of detecting that a macro is defined as an empty string at
pre-processor time. This hack uses a standard trick for avoiding calling
the STRING macro with an empty argument when doing the test. */
-PCRE_EXP_DEFN const char *
+PCRE_EXP_DEFN const char * PCRE_CALL_CONVENTION
pcre_version(void)
{
return (XSTRING(Z PCRE_PRERELEASE)[1] == 0)?