On Mon, 28 Jul 2003, Tim Howell wrote:

> ?tches from a few days ago to allow executable creation, the current CVS no
> longer compiles properly on my MacOS X 10.2.6 box.  The error I get is:
>
> exec_save.c:319:16: #if with no expression
> make: *** [exec_save.o] Error 1
>
> The following patch seems to fix things, although I don't know if this is the
> best way to do it:
>

 Wouldn't a better solution be to turn the #if into an #ifdef?

 Simon

--- exec_save.c.old     Mon Jul 28 15:26:08 2003
+++ exec_save.c Mon Jul 28 19:50:54 2003
@@ -316,7 +316,7 @@

 #endif /* EXEC_ELF */

-#if EXEC_MACH_O
+#ifdef EXEC_MACH_O

 /* This is a hack. */


Reply via email to