Make sure that LUFAConfig.h is included *after* the common submodules, so that the...
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 29 May 2012 20:01:04 +0000 (20:01 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 29 May 2012 20:01:04 +0000 (20:01 +0000)
LUFA/Common/Common.h

index 871998d..54d7386 100644 (file)
                #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" {