summaryrefslogtreecommitdiffstats
path: root/Configurations/platform/Windows/cppbuilder.pm
blob: b4d208d6d45693acaff504cf652461ea64050736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package platform::Windows::cppbuilder;

use vars qw(@ISA);

require platform::Windows::MSVC;
@ISA = qw(platform::Windows::MSVC);

sub pdbext              { '.tds' }

# C++Builder's Clang-based compilers prepend an underscore to __cdecl-convention
# C functions, and the linker needs those as the InternalName in the .def file.
sub export2internal {
    return "_$_[1]";
}

1;