blob: 53128ced7b366578c369daa5a9e4b9ce9bbb9d48 [file] [log] [blame]
Christopher Piroefd5eec2007-10-02 01:33:37 +00001%%% Copyright (c) 2007- Facebook
2%%% Distributed under the Thrift Software License
3%%%
4%%% See accompanying file LICENSE or visit the Thrift site at:
5%%% http://developers.facebook.com/thrift/
6
7-define(APPLICATION, thrift).
8
9-define(CONFIG_FILE, filename:join(code:priv_dir(?APPLICATION),
10 atom_to_list(?APPLICATION) ++ ".conf")).
11
12-define(ERROR(F, D),
13 error_logger:format(F, D)).
14
15-define(INFO(Type, Report),
16 error_logger:info_report({thrift_info, Type}, Report)).
17
18-include("thrift_macros.hrl").
19-include("thrift_constants.hrl").