Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add ifdef around EQC

Without the ifdef people without EQC cannot build.
  • Loading branch information...
commit 4387a91d957fa3b7793f423a62d7eeb718037523 1 parent 26f5c42
@rzezeski authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/hashtree.erl
View
6 src/hashtree.erl
@@ -27,7 +27,9 @@
compare/2]).
-compile(export_all).
+-ifdef(EQC).
-include_lib("eqc/include/eqc.hrl").
+-endif.
-include_lib("eunit/include/eunit.hrl").
-define(NUM_SEGMENTS, (1024*1024)).
@@ -532,6 +534,8 @@ snapshot_test() ->
%%% EQC
%%%===================================================================
+-ifdef(EQC).
+
objects() ->
?SIZED(Size, objects(Size+3)).
@@ -610,3 +614,5 @@ prop_correct() ->
destroy(B0),
true
end)).
+
+-endif.

0 comments on commit 4387a91

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