mirror of
https://github.com/openssl/openssl.git
synced 2026-01-18 17:11:31 +01:00
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:
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;
|
||||
|
||||
Reference in New Issue
Block a user