Revert part of applink/Borland commit
This allows developer to glue DLL built with VC into their application compiled with Borland C. Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
parent
c3ddb26331
commit
9c1215a3c1
1 changed files with 10 additions and 1 deletions
11
ms/applink.c
11
ms/applink.c
|
@ -75,7 +75,16 @@ extern "C" {
|
|||
|
||||
__declspec(dllexport)
|
||||
void **
|
||||
__cdecl
|
||||
# if defined(__BORLANDC__)
|
||||
/*
|
||||
* __stdcall appears to be the only way to get the name
|
||||
* decoration right with Borland C. Otherwise it works
|
||||
* purely incidentally, as we pass no parameters.
|
||||
*/
|
||||
__stdcall
|
||||
# else
|
||||
__cdecl
|
||||
# endif
|
||||
OPENSSL_Applink(void)
|
||||
{
|
||||
static int once = 1;
|
||||
|
|
Loading…
Reference in a new issue