OSDN Git Service

2007-04-16 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/gcc-fork.git] / gcc / limitx.h
index 4b927b9..529d9c5 100644 (file)
@@ -1,10 +1,12 @@
 /* This administrivia gets added to the beginning of limits.h
    if the system has its own version of limits.h.  */
 
-#ifndef _LIMITS_H_  /* Terminated in limity.h.  */
-#define _LIMITS_H_
+/* We use _GCC_LIMITS_H_ because we want this not to match
+   any macros that the system's limits.h uses for its own purposes.  */
+#ifndef _GCC_LIMITS_H_  /* Terminated in limity.h.  */
+#define _GCC_LIMITS_H_
 
 #ifndef _LIBC_LIMITS_H_
-/* Use <...> so that we find syslimits.h only in system include dirs.  */
-#include <syslimits.h>
+/* Use "..." so that we find syslimits.h only in this same directory.  */
+#include "syslimits.h"
 #endif