Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ EXE = @EXE@
LIBEXT = @LIBEXT@
OBJEXT = @OBJEXT@

INCLUDES =
INCLUDES = @OCAMLINCLUDE@
BFLAGS = -dtypes -g $(INCLUDES)
OFLAGS = -dtypes $(INCLUDES) -for-pack Functory

Expand Down
3 changes: 3 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ echo "ocaml library path is $OCAMLLIB"
case $OCAMLVERSION in
0.*|1.*|2.*|3.*|4.00*|4.01*)
AC_MSG_ERROR(You need OCaml 4.02 or higher);;
5.*)
OCAMLINCLUDE="-I +unix";;
esac


Expand Down Expand Up @@ -173,6 +175,7 @@ AC_SUBST(OCAMLVERSION)
AC_SUBST(OCAMLLIB)
AC_SUBST(OCAMLWEB)
AC_SUBST(OCAMLWIN32)
AC_SUBST(OCAMLINCLUDE)
AC_SUBST(EXE)
AC_SUBST(LIBEXT)
AC_SUBST(OBJEXT)
Expand Down
2 changes: 1 addition & 1 deletion network.ml
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ end = struct
module S =
Set.Make(struct
type t = worker
let compare w1 w2 = Pervasives.compare w1.worker_id w2.worker_id
let compare w1 w2 = Stdlib.compare w1.worker_id w2.worker_id
end)
type t = S.t ref
let create () = ref S.empty
Expand Down