[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Backward compatibility status
From: |
Ludovic Courtès |
Subject: |
Re: Backward compatibility status |
Date: |
Sat, 20 Mar 2010 23:35:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hi Ian,
Ian Hulin <address@hidden> 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’.