Skip to content

Commit

Permalink
Add ifndef conflict resolving construction to hrl
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonSizov committed Aug 27, 2013
1 parent 99f2777 commit b7ae31b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/rabbit_framing.hrl
Expand Up @@ -15,6 +15,10 @@
%% The Initial Developer of the Original Code is VMware, Inc.
%% Copyright (c) 2007-2012 VMware, Inc. All rights reserved.
%%

-ifndef(rabbit_framing_hrl).
-define(rabbit_framing_hrl, defined).

-define(PROTOCOL_PORT, 5672).
-define(FRAME_METHOD, 1).
-define(FRAME_HEADER, 2).
Expand Down Expand Up @@ -161,3 +165,5 @@
-record('P_dtx', {}).
-record('P_tunnel', {headers, proxy_name, data_name, durable, broadcast}).
-record('P_test', {}).

-endif. %% rabbit_framing_hrl

0 comments on commit b7ae31b

Please sign in to comment.