aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common/ArchitectureSpecific.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-09-21 23:40:05 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-09-21 23:40:05 +0000
commit022fa26b43f062ca6e4b23c64ec2d0d0bab7e377 (patch)
tree8e803d83ebf0e5e7e7d7fda120203a1a6b184540 /LUFA/Common/ArchitectureSpecific.h
parentb5682f2c4476c368589c084b374bcdd997e85cdb (diff)
downloadlufa-022fa26b43f062ca6e4b23c64ec2d0d0bab7e377.tar.gz
lufa-022fa26b43f062ca6e4b23c64ec2d0d0bab7e377.tar.bz2
lufa-022fa26b43f062ca6e4b23c64ec2d0d0bab7e377.zip
Fix missing C++ linkage command in ArchitectureSpecific.h.
Fix missing closing brace in an Endpoint function for the UC3 targets.
Diffstat (limited to 'LUFA/Common/ArchitectureSpecific.h')
-rw-r--r--LUFA/Common/ArchitectureSpecific.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/LUFA/Common/ArchitectureSpecific.h b/LUFA/Common/ArchitectureSpecific.h
index 3920cb94e..502723fb7 100644
--- a/LUFA/Common/ArchitectureSpecific.h
+++ b/LUFA/Common/ArchitectureSpecific.h
@@ -56,6 +56,11 @@
#error Do not include this file directly. Include LUFA/Common/Common.h instead to gain this functionality.
#endif
+ /* Enable C linkage for C++ Compilers: */
+ #if defined(__cplusplus)
+ extern "C" {
+ #endif
+
/* Public Interface - May be used in end-application: */
/* Macros: */
#if (ARCH == ARCH_AVR8) || defined(__DOXYGEN__)