aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/tests
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2009-07-03 20:27:05 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-07-03 20:27:05 +0000
commitd4289bdd6d7102d5fc10f782752ac8dbfae6883c (patch)
tree22339adc87a7be1c3ca49ef0f7d0883985eab53e /fixincludes/tests
parentd73fb533dc652d2201bded0d386093af57810a6f (diff)
downloadgcc-d4289bdd6d7102d5fc10f782752ac8dbfae6883c.zip
gcc-d4289bdd6d7102d5fc10f782752ac8dbfae6883c.tar.gz
gcc-d4289bdd6d7102d5fc10f782752ac8dbfae6883c.tar.bz2
inclhack.def (solaris_int_types): New fix.
* inclhack.def (solaris_int_types): New fix. * fixincl.x: Regenerate. * tests/base/sys/int_types.h: New file. From-SVN: r149209
Diffstat (limited to 'fixincludes/tests')
-rw-r--r--fixincludes/tests/base/sys/int_types.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/fixincludes/tests/base/sys/int_types.h b/fixincludes/tests/base/sys/int_types.h
new file mode 100644
index 0000000..39bb68a
--- /dev/null
+++ b/fixincludes/tests/base/sys/int_types.h
@@ -0,0 +1,20 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/sys/int_types.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( SOLARIS_INT_TYPES_CHECK )
+#if (defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__)) && !defined(_NO_LONGLONG)
+typedef long long int64_t;
+#endif
+
+#if defined(_LP64) || ((defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__)) && !defined(_NO_LONGLONG))
+typedef int64_t intmax_t;
+#endif
+#endif /* SOLARIS_INT_TYPES_CHECK */