darwin.h: Add include guards.
authorGeoffrey Keating <geoffk@apple.com>
Fri, 13 Feb 2004 01:58:37 +0000 (01:58 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 13 Feb 2004 01:58:37 +0000 (01:58 +0000)
* config/darwin.h: Add include guards.  Remove old, now incorrect,
comment about STANDARD_EXEC_PREFIX.

From-SVN: r77746

gcc/ChangeLog
gcc/config/darwin.h

index 1d08e53..7d843f9 100644 (file)
@@ -1,5 +1,8 @@
 2004-02-12  Geoffrey Keating  <geoffk@apple.com>
 
+       * 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
index 8d80b77..8cf92a0 100644 (file)
@@ -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 */