Hi Ian,

Ian Hulin <i...@hulin.org.uk> writes:

> I patched the Lilypond header files and code calling them to get round
> the above problem

Can you post a link to the patch?

> ;;; This fails, but works in 1.8.7
> (case PLATFORM
>   ((windows)
>    (define native-getcwd
>      getcwd)

Yes, that’s expected and it’s documented in ‘NEWS’, which also says that
we “may choose to revisit this situation before 2.0 in response to user
feedback”.  :-)

Anyway, something that will work with both 1.8 and 2.0 is this:

  (if (eq? PLATFORM 'windows)
      (begin
        (module-define! (current-module) 'native-getcwd getcwd)
        (module-define! ...)
        ...))

Hope this helps,
Ludo’.


Reply via email to