t-vxworks (LIMITS_H_TEST): Define to true for VxWorks.
authorRichard Sandiford <richard@codesourcery.com>
Fri, 2 Mar 2007 12:38:32 +0000 (12:38 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 2 Mar 2007 12:38:32 +0000 (12:38 +0000)
gcc/
* config/t-vxworks (LIMITS_H_TEST): Define to true for VxWorks.

From-SVN: r122475

gcc/ChangeLog
gcc/config/t-vxworks

index 688ffd6..74d80c4 100644 (file)
@@ -1,5 +1,9 @@
 2007-03-02  Richard Sandiford  <richard@codesourcery.com>
 
+       * config/t-vxworks (LIMITS_H_TEST): Define to true for VxWorks.
+
+2007-03-02  Richard Sandiford  <richard@codesourcery.com>
+
        * config/t-vxworks (LIBGCC2_INCLUDES): Pass -nostdinc.
        Use $MULTIDIR to choose between the kernel and RTP headers,
        and use $WIND_BASE and $WIND_USR to locate them.
index f623503..3741581 100644 (file)
@@ -27,6 +27,9 @@ LIBGCC2_INCLUDES = -nostdinc -I \
      *) echo $(WIND_BASE)/target/h ;; \
    esac`
 
+# Both the kernel and RTP headers provide limits.h.
+LIMITS_H_TEST = true
+
 EXTRA_MULTILIB_PARTS = 
 
 vxworks.o: $(srcdir)/config/vxworks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \