summaryrefslogtreecommitdiff
path: root/NON-UNIX-USE
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 /NON-UNIX-USE
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 'NON-UNIX-USE')
-rw-r--r--NON-UNIX-USE13
1 files changed, 12 insertions, 1 deletions
diff --git a/NON-UNIX-USE b/NON-UNIX-USE
index e6726fa..ea3931f 100644
--- a/NON-UNIX-USE
+++ b/NON-UNIX-USE
@@ -190,6 +190,17 @@ otherwise the pcre_malloc() and pcre_free() exported functions will be declared
__declspec(dllimport), with unwanted results.
+CALLING CONVENTIONS IN WINDOWS ENVIRONMENTS
+
+It is possible to compile programs to use different calling conventions using
+MSVC. Search the web for "calling conventions" for more information. To make it
+easier to change the calling convention for the exported functions in the
+PCRE library, the macro PCRE_CALL_CONVENTION is present in all the external
+definitions. It can be set externally when compiling (e.g. in CFLAGS). If it is
+not set, it defaults to empty; the default calling convention is then used
+(which is what is wanted most of the time).
+
+
COMMENTS ABOUT WIN32 BUILDS (see also "BUILDING PCRE WITH CMAKE" below)
There are two ways of building PCRE using the "configure, make, make install"
@@ -428,5 +439,5 @@ $! Locale could not be set to fr
$!
=========================
-Last Updated: 25 January 2008
+Last Updated: 09 July 2008
****