diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-11-19 12:46:24 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-11-19 12:46:24 +0000 |
commit | af72c9235589e9bcf22041da900108d4d0fdd7c5 (patch) | |
tree | 23132781c8bed4fd538d7b4fdba0f5acbe8afd73 /src/pcre2_internal.h | |
parent | 9cd31c09942aa9d7b98c3040f1dc54d6dede36cb (diff) | |
download | pcre2-af72c9235589e9bcf22041da900108d4d0fdd7c5.tar.gz |
Add PCRE2_CALL_CONVENTION into prototypes.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@600 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_internal.h')
-rw-r--r-- | src/pcre2_internal.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/pcre2_internal.h b/src/pcre2_internal.h index a748f76..6a8774c 100644 --- a/src/pcre2_internal.h +++ b/src/pcre2_internal.h @@ -142,20 +142,6 @@ pcre2_match() because of the way it backtracks. */ #define PCRE2_SPTR CUSTOM_SUBJECT_PTR #endif -/* When compiling with the MSVC compiler, it is sometimes necessary to include -a "calling convention" before exported function names. (This is secondhand -information; I know nothing about MSVC myself). For example, something like - - void __cdecl function(....) - -might be needed. In order so make this easy, all the exported functions have -PCRE2_CALL_CONVENTION just before their names. It is rarely needed; if not -set, we ensure here that it has no effect. */ - -#ifndef PCRE2_CALL_CONVENTION -#define PCRE2_CALL_CONVENTION -#endif - /* When checking for integer overflow in pcre2_compile(), we need to handle large integers. If a 64-bit integer type is available, we can use that. Otherwise we have to cast to double, which of course requires floating point |