1%% This Source Code Form is subject to the terms of the Mozilla Public 2%% License, v. 2.0. If a copy of the MPL was not distributed with this 3%% file, You can obtain one at https://mozilla.org/MPL/2.0/. 4%% 5%% Copyright (c) 2017-2021 VMware, Inc. or its affiliates. All rights reserved. 6%% 7 8-module(term_to_binary_compat). 9 10-include_lib("rabbit_common/include/rabbit.hrl"). 11 12-export([term_to_binary_1/1]). 13 14term_to_binary_1(Term) -> 15 term_to_binary(Term, [{minor_version, 1}]). 16