require '_h2ph_pre.ph';

no warnings 'redefine';

if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
    eval 'sub mulaw_to_ulinear16 () { &mulaw_to_ulinear16_le;}' unless defined(&mulaw_to_ulinear16);
    eval 'sub alaw_to_ulinear16 () { &alaw_to_ulinear16_le;}' unless defined(&alaw_to_ulinear16);
    eval 'sub mulaw_to_slinear16 () { &mulaw_to_slinear16_le;}' unless defined(&mulaw_to_slinear16);
    eval 'sub mulaw_to_slinear16_mts () { &mulaw_to_slinear16_le_mts;}' unless defined(&mulaw_to_slinear16_mts);
    eval 'sub alaw_to_slinear16 () { &alaw_to_slinear16_le;}' unless defined(&alaw_to_slinear16);
    eval 'sub alaw_to_slinear16_mts () { &alaw_to_slinear16_le_mts;}' unless defined(&alaw_to_slinear16_mts);
} else {
    eval 'sub mulaw_to_ulinear16 () { &mulaw_to_ulinear16_be;}' unless defined(&mulaw_to_ulinear16);
    eval 'sub alaw_to_ulinear16 () { &alaw_to_ulinear16_be;}' unless defined(&alaw_to_ulinear16);
    eval 'sub mulaw_to_slinear16 () { &mulaw_to_slinear16_be;}' unless defined(&mulaw_to_slinear16);
    eval 'sub mulaw_to_slinear16_mts () { &mulaw_to_slinear16_be_mts;}' unless defined(&mulaw_to_slinear16_mts);
    eval 'sub alaw_to_slinear16 () { &alaw_to_slinear16_be;}' unless defined(&alaw_to_slinear16);
    eval 'sub alaw_to_slinear16_mts () { &alaw_to_slinear16_be_mts;}' unless defined(&alaw_to_slinear16_mts);
}
1;
