xref: /freebsd-src/crypto/openssl/Configurations/platform/Windows/cppbuilder.pm (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
1*e0c4386eSCy Schubertpackage platform::Windows::cppbuilder;
2*e0c4386eSCy Schubert
3*e0c4386eSCy Schubertuse vars qw(@ISA);
4*e0c4386eSCy Schubert
5*e0c4386eSCy Schubertrequire platform::Windows::MSVC;
6*e0c4386eSCy Schubert@ISA = qw(platform::Windows::MSVC);
7*e0c4386eSCy Schubert
8*e0c4386eSCy Schubertsub pdbext              { '.tds' }
9*e0c4386eSCy Schubert
10*e0c4386eSCy Schubert# C++Builder's Clang-based compilers prepend an underscore to __cdecl-convention
11*e0c4386eSCy Schubert# C functions, and the linker needs those as the InternalName in the .def file.
12*e0c4386eSCy Schubertsub export2internal {
13*e0c4386eSCy Schubert    return "_$_[1]";
14*e0c4386eSCy Schubert}
15*e0c4386eSCy Schubert
16*e0c4386eSCy Schubert1;
17