summaryrefslogtreecommitdiff
path: root/fixincludes/tests
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-03 20:27:05 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-03 20:27:05 +0000
commit6d87b38cf8c2c85dbba977382d24c58aab6b5c5a (patch)
tree22339adc87a7be1c3ca49ef0f7d0883985eab53e /fixincludes/tests
parentb5a4c0720f2d5d2245ec7a2a72f157b4975a9b6e (diff)
downloadgcc-6d87b38cf8c2c85dbba977382d24c58aab6b5c5a.tar.gz
* inclhack.def (solaris_int_types): New fix.
* fixincl.x: Regenerate. * tests/base/sys/int_types.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149209 138bc75d-0d04-0410-961f-82ee72b054a4
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 00000000000..39bb68acd78
--- /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 */