Permalink
Browse files

Document platform_define in sample config

  • Loading branch information...
tuncer committed Jun 12, 2010
1 parent 6ea5a54 commit 952b838d723625d131e2b736a1d1737d358c72af
Showing with 4 additions and 1 deletion.
  1. +4 −1 rebar.config.sample
View
@@ -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, []}.

0 comments on commit 952b838

Please sign in to comment.