Skip to content

Commit 4387a91

Browse files
committed
Add ifdef around EQC
Without the ifdef people without EQC cannot build.
1 parent 26f5c42 commit 4387a91

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/hashtree.erl

+6
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
compare/2]).
2828
-compile(export_all).
2929

30+
-ifdef(EQC).
3031
-include_lib("eqc/include/eqc.hrl").
32+
-endif.
3133
-include_lib("eunit/include/eunit.hrl").
3234

3335
-define(NUM_SEGMENTS, (1024*1024)).
@@ -532,6 +534,8 @@ snapshot_test() ->
532534
%%% EQC
533535
%%%===================================================================
534536

537+
-ifdef(EQC).
538+
535539
objects() ->
536540
?SIZED(Size, objects(Size+3)).
537541

@@ -610,3 +614,5 @@ prop_correct() ->
610614
destroy(B0),
611615
true
612616
end)).
617+
618+
-endif.

0 commit comments

Comments
 (0)