From: Geoffrey Keating Date: Fri, 13 Feb 2004 01:58:37 +0000 (+0000) Subject: darwin.h: Add include guards. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=213c4a8a6c2e2edf4bd1ac17cc4e692510e0e8f4;p=gcc.git darwin.h: Add include guards. * config/darwin.h: Add include guards. Remove old, now incorrect, comment about STANDARD_EXEC_PREFIX. From-SVN: r77746 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d08e5309e7..7d843f9c12f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-02-12 Geoffrey Keating + * config/darwin.h: Add include guards. Remove old, now incorrect, + comment about STANDARD_EXEC_PREFIX. + * Makefile.in (install-man): Use $(CPP_INSTALL_NAME) and $(GCOV_INSTALL_NAME) to install manpages. Remove generic rule for installing .1 manpages. Add rules for installing cpp diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 8d80b771b75..8cf92a096cd 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -20,6 +20,9 @@ along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef CONFIG_DARWIN_H +#define CONFIG_DARWIN_H + /* The definitions in this file are common to all processor types running Darwin, which is the kernel for Mac OS X. Darwin is basically a BSD user layer laid over a Mach kernel, then evolved @@ -30,11 +33,6 @@ Boston, MA 02111-1307, USA. */ /* Although NeXT ran on many different architectures, as of Jan 2001 the only supported Darwin targets are PowerPC and x86. */ -/* Technically, STANDARD_EXEC_PREFIX should be /usr/libexec/, but in - practice this makes it hard to install new compilers elsewhere, so - leave it undefined and expect system builders to set configure args - correctly. */ - /* One of Darwin's NeXT legacies is the Mach-O format, which is partly like a.out and partly like COFF, with additional features like multi-architecture binary support. */ @@ -831,3 +829,5 @@ enum machopic_addr_class { #define ASM_APP_ON "" #undef ASM_APP_OFF #define ASM_APP_OFF "" + +#endif /* CONFIG_DARWIN_H */