summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/limitx.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/limitx.h')
-rw-r--r--contrib/gcc/limitx.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/gcc/limitx.h b/contrib/gcc/limitx.h
new file mode 100644
index 0000000..529d9c5
--- /dev/null
+++ b/contrib/gcc/limitx.h
@@ -0,0 +1,12 @@
+/* This administrivia gets added to the beginning of limits.h
+ if the system has its own version of 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 this same directory. */
+#include "syslimits.h"
+#endif
OpenPOWER on IntegriCloud