Commit 9c1215a3 authored by Rich Salz's avatar Rich Salz
Browse files

Revert part of applink/Borland commit



This allows developer to glue DLL built with VC into their application
compiled with Borland C.

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
parent c3ddb263
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -75,7 +75,16 @@ extern "C" {

__declspec(dllexport)
void **
# 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;