Skip to content

Commit

Permalink
update dune file
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <[email protected]>
  • Loading branch information
emillon committed Mar 5, 2024
1 parent eefdd35 commit 7ea41f6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion vendor/spawn/src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
(name spawn)
(foreign_stubs
(language c)
(flags :standard -DUNICODE -D_UNICODE)
(flags (:standard (:include flags.sexp)))
(names spawn_stubs))
(libraries unix threads.posix))

(rule
(with-stdout-to flags.sexp
(run ocaml %{dep:flags.ml})))

(rule
(with-stdout-to flags.ml
(echo "print_endline @@ if Sys.win32 then \"(-DUNICODE -D_UNICODE)\" else \"()\"")))

0 comments on commit 7ea41f6

Please sign in to comment.