From 041b4e40d9b0a7a074ebc0359aff4b30fcd226c0 Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Sat, 2 Nov 2024 18:56:33 -0700 Subject: [PATCH] oops --- src/vendored-omp/src/caml_format_doc.cppo.ml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vendored-omp/src/caml_format_doc.cppo.ml b/src/vendored-omp/src/caml_format_doc.cppo.ml index 1bead49a2..ed38962b0 100644 --- a/src/vendored-omp/src/caml_format_doc.cppo.ml +++ b/src/vendored-omp/src/caml_format_doc.cppo.ml @@ -423,7 +423,11 @@ module Driver = struct output_formatting_lit ppf f; | Acc_formatting_gen (p, Acc_open_tag acc') -> output_acc ppf p; +#if OCAML_VERSION >= (4,08,0) pp_open_stag ppf (Format.String_tag (compute_tag output_acc acc')) +#else + pp_open_stag ppf (compute_tag output_acc acc') +#endif | Acc_formatting_gen (p, Acc_open_box acc') -> output_acc ppf p; let (indent, bty) =