summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-06-12 13:38:59 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-06-12 13:38:59 +0200
commit952b838d723625d131e2b736a1d1737d358c72af (patch)
tree099c14a5eb1c7f522ee6939e469e4296f091b23d
parent6ea5a548e11357004cf553b065dd61a9af851e08 (diff)
Document platform_define in sample config
-rw-r--r--rebar.config.sample5
1 files changed, 4 insertions, 1 deletions
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, []}.