Skip to content
Browse files

Avoid including the new Erlang max/2 BIF, for compatibility with olde…

…r Erlangs
  • Loading branch information...
1 parent d2404de commit f96b651fc3371545da181370d693e69d73b209f1 @tonyg committed May 23, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/reflect_vhost_manager.erl
View
4 src/reflect_vhost_manager.erl
@@ -1,6 +1,10 @@
-module(reflect_vhost_manager).
-behaviour(gen_server).
+% When we drop support for Erlang pre R14B, we can remove the
+% definition of max/2 below and remove this no_auto_import pragma.
+-compile({no_auto_import,[max/2]}).
+
-export([setup_tables/0, start_link/2, lookup/0]).
-export([request/2, configure/3, poll/4, respond/2]).
-export([info/1]).

0 comments on commit f96b651

Please sign in to comment.
Something went wrong with that request. Please try again.