diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-29 20:01:04 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-29 20:01:04 +0000 |
commit | 851fcd0c2fb6662e4ebfaa667bd1f604b9e9cfc0 (patch) | |
tree | 2acea6451518d193ce2eb0e324109f3dce530aa0 | |
parent | d4684b29b9a3a4b45b6422d0f1cf6c79639c84c8 (diff) | |
download | lufa-851fcd0c2fb6662e4ebfaa667bd1f604b9e9cfc0.tar.gz lufa-851fcd0c2fb6662e4ebfaa667bd1f604b9e9cfc0.tar.bz2 lufa-851fcd0c2fb6662e4ebfaa667bd1f604b9e9cfc0.zip |
Make sure that LUFAConfig.h is included *after* the common submodules, so that the architecture and other defines are available to the configuration header.
-rw-r--r-- | LUFA/Common/Common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 871998dc4..54d738682 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -68,16 +68,16 @@ #include <string.h> #include <stddef.h> - #if defined(USE_LUFA_CONFIG_HEADER) - #include "LUFAConfig.h" - #endif - #include "Architectures.h" #include "BoardTypes.h" #include "ArchitectureSpecific.h" #include "CompilerSpecific.h" #include "Attributes.h" + #if defined(USE_LUFA_CONFIG_HEADER) + #include "LUFAConfig.h" + #endif + /* Enable C linkage for C++ Compilers: */ #if defined(__cplusplus) extern "C" { |