(* Functions added in OCaml 4.03 *)

type ('a,'b) result = Ok of 'a | Error of 'b

module String = struct
  include String

  let lowercase_ascii = lowercase
  let capitalize_ascii = capitalize
end

module Unix = struct
  include Unix

  let has_symlink () = not Sys.win32
end

module Sys = struct
  include Sys

  let int_size = word_size - 1
end

(* Functions added in OCaml 4.03 *)

module String = struct
  include String

  let lowercase_ascii = lowercase
  let capitalize_ascii = capitalize
end

module Unix = struct
  include Unix

  let has_symlink () = not Sys.win32
end

module Sys = struct
  include Sys

  let int_size = word_size - 1
end

Revert "Restore OCaml < 4.03 compatibility"
Revert "Restore OCaml < 4.03 compatibility"

This reverts commit 4b2be87dc963dbf734c7866df06da29af3b1103e.

As planned previously, drop hacks to support old OCaml versions.
