xref: /src/crypto/openssl/Configurations/platform/Windows/cppbuilder.pm (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
19dd13e84SCy Schubertpackage platform::Windows::cppbuilder;
29dd13e84SCy Schubert
39dd13e84SCy Schubertuse vars qw(@ISA);
49dd13e84SCy Schubert
59dd13e84SCy Schubertrequire platform::Windows::MSVC;
69dd13e84SCy Schubert@ISA = qw(platform::Windows::MSVC);
79dd13e84SCy Schubert
89dd13e84SCy Schubertsub pdbext              { '.tds' }
99dd13e84SCy Schubert
109dd13e84SCy Schubert# C++Builder's Clang-based compilers prepend an underscore to __cdecl-convention
119dd13e84SCy Schubert# C functions, and the linker needs those as the InternalName in the .def file.
129dd13e84SCy Schubertsub export2internal {
139dd13e84SCy Schubert    return "_$_[1]";
149dd13e84SCy Schubert}
159dd13e84SCy Schubert
169dd13e84SCy Schubert1;
17