diff packages/hal/common/current/include/generic-stub.h @ 76:435cced73e2f ecos-v1_3_1-release

eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
author jlarmour
date Tue, 28 Mar 2000 14:10:45 +0000
parents bf00f99aec69
children 02ea4320376c
line wrap: on
line diff
--- a/packages/hal/common/current/include/generic-stub.h
+++ b/packages/hal/common/current/include/generic-stub.h
@@ -49,6 +49,10 @@
 #ifndef GENERIC_STUB_H
 #define GENERIC_STUB_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Three typedefs must be provided before including this file.
    target_register_t should correspond to the largest register value on
    this target processor.
@@ -294,4 +298,8 @@ extern void __putDebugStr (char *str);
 
 #endif /* ASM */
 
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
 #endif /* GENERIC_STUB_H */