aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/tests/base/sys/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc/tests/base/sys/mman.h')
-rw-r--r--gcc/fixinc/tests/base/sys/mman.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/fixinc/tests/base/sys/mman.h b/gcc/fixinc/tests/base/sys/mman.h
new file mode 100644
index 0000000..16403a0
--- /dev/null
+++ b/gcc/fixinc/tests/base/sys/mman.h
@@ -0,0 +1,16 @@
+#ifndef FIXINC_CXX_UNREADY_CHECK
+#define FIXINC_CXX_UNREADY_CHECK 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+#if defined( CXX_UNREADY_CHECK )
+extern void* malloc( size_t );
+#endif /* CXX_UNREADY_CHECK */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* FIXINC_CXX_UNREADY_CHECK */