mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Document platform_define in sample config
This commit is contained in:
parent
6ea5a548e1
commit
952b838d72
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@
|
|||
{erl_first_files, ["mymib1", "mymib2"]}.
|
||||
|
||||
%% Erlang compiler options
|
||||
{erl_opts, [{i, "myinclude"}, {src_dirs, ["src1", "src2"]}]}.
|
||||
{erl_opts, [{i, "myinclude"}, {src_dirs, ["src1", "src2"]},
|
||||
{platform_define,
|
||||
"(linux|solaris|freebsd|darwin)", 'HAVE_SENDFILE'},
|
||||
{platform_define, "(linux|freebsd)", 'BACKLOG', 128}]}.
|
||||
|
||||
%% MIB Options?
|
||||
{mib_opts, []}.
|
||||
|
|
Loading…
Reference in a new issue