[cmucl-cvs] CMUCL commit: src/lisp (save.c)
Raymond Toy
rtoy at common-lisp.net
Fri Sep 24 04:08:39 UTC 2010
Date: Friday, September 24, 2010 @ 00:08:39
Author: rtoy
Path: /project/cmucl/cvsroot/src/lisp
Modified: save.c
Include libgen.h on Darwin/x86 to get rid of a compiler warning about
dirname being undefined.
--------+
save.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: src/lisp/save.c
diff -u src/lisp/save.c:1.28 src/lisp/save.c:1.29
--- src/lisp/save.c:1.28 Mon Aug 2 17:45:36 2010
+++ src/lisp/save.c Fri Sep 24 00:08:39 2010
@@ -1,6 +1,6 @@
/*
- $Header: /project/cmucl/cvsroot/src/lisp/save.c,v 1.28 2010-08-02 21:45:36 rtoy Exp $
+ $Header: /project/cmucl/cvsroot/src/lisp/save.c,v 1.29 2010-09-24 04:08:39 rtoy Exp $
This code was written as part of the CMU Common Lisp project at
Carnegie Mellon University, and has been placed in the public domain.
@@ -29,7 +29,7 @@
#ifdef FEATURE_EXECUTABLE
#include "elf.h"
-#if !defined(DARWIN)
+#if !(defined(DARWIN) && defined(__ppc__))
#include <libgen.h>
#endif
#endif
More information about the cmucl-cvs
mailing list