xref: /netbsd-src/crypto/external/bsd/openssl/dist/Configurations/platform/Windows/cppbuilder.pm (revision b0d1725196a7921d003d2c66a14f186abda4176b)
1*b0d17251Schristospackage platform::Windows::cppbuilder;
2*b0d17251Schristos
3*b0d17251Schristosuse vars qw(@ISA);
4*b0d17251Schristos
5*b0d17251Schristosrequire platform::Windows::MSVC;
6*b0d17251Schristos@ISA = qw(platform::Windows::MSVC);
7*b0d17251Schristos
8*b0d17251Schristossub pdbext              { '.tds' }
9*b0d17251Schristos
10*b0d17251Schristos# C++Builder's Clang-based compilers prepend an underscore to __cdecl-convention
11*b0d17251Schristos# C functions, and the linker needs those as the InternalName in the .def file.
12*b0d17251Schristossub export2internal {
13*b0d17251Schristos    return "_$_[1]";
14*b0d17251Schristos}
15*b0d17251Schristos
16*b0d17251Schristos1;
17