From 952b838d723625d131e2b736a1d1737d358c72af Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sat, 12 Jun 2010 13:38:59 +0200 Subject: [PATCH] Document platform_define in sample config --- rebar.config.sample | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rebar.config.sample b/rebar.config.sample index 801044d..ad414d3 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -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, []}.