lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LilyPond 2.5.13 won't compile on MacOS X


From: Jan Nieuwenhuizen
Subject: Re: LilyPond 2.5.13 won't compile on MacOS X
Date: Mon, 28 Feb 2005 20:01:03 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Matthias Neeracher writes:

> MacOS X is one of the platforms without libio, and it seems that the
> changes in 2.5.13 to accommodate those are not enough yet. Do I have
> to manually define ALIAS_FILE_TO_FILECOOKIE on my platform?

No, it was (hopefully) broken by a bit carelessly placed ifdef that
was not tested.

Can you try the patch below?

Jan.
  
--- libc-extension.hh   26 feb 2005 12:57:23 +0100      1.25
+++ libc-extension.hh   28 feb 2005 19:59:03 +0100      
@@ -53,8 +53,6 @@ extern "C" {
 #include <libio.h>
 #else
 
-#ifdef ALIAS_FILE_TO_FILECOOKIE
-  
 #define cookie_io_functions_t le_cookie_io_functions_t 
   typedef struct
   {
@@ -75,6 +73,8 @@ extern "C" {
   int handle_cookie_io_fprintf (FILE *file, char const *format, ...);
   int handle_cookie_io_putc (int c, FILE *file);
 
+#ifdef ALIAS_FILE_TO_FILECOOKIE
+
 /* FIXME: ttftool uses fclose fopencookie fprintf and putc only... */
 #define fclose handle_cookie_io_fclose
 #define fprintf handle_cookie_io_fprintf


-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]