projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
misc: Made (most) of the headers c++ friendly
[simavr]
/
include
/
avr_mcu_section.h
diff --git
a/include/avr_mcu_section.h
b/include/avr_mcu_section.h
index
bce65e8
..
8991ac5
100644
(file)
--- a/
include/avr_mcu_section.h
+++ b/
include/avr_mcu_section.h
@@
-40,6
+40,10
@@
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum {
AVR_MMCU_TAG = 0,
AVR_MMCU_TAG_NAME,
@@
-150,5
+154,8
@@
const uint8_t _##_tag _MMCU_ = { _tag, 1, _val }
#endif /* __AVR__ */
+#ifdef __cplusplus
+};
+#endif
#endif