extern "C" {\r
#endif\r
\r
+ /* Preprocessor Checks: */\r
+ #if !defined(__INCLUDE_FROM_MS_DRIVER)\r
+ #error Do not include this file directly. Include LUFA/Drivers/Class/MassStorage.h instead.\r
+ #endif\r
+\r
/* Public Interface - May be used in end-application: */\r
/* Macros: */\r
/** Error code for some Mass Storage Host functions, indicating a logical (and not hardware) error */\r
#define MS_FOUND_DATAPIPE_OUT (1 << 1)\r
\r
/* Function Prototypes: */\r
- #if defined(INCLUDE_FROM_MS_CLASS_HOST_C) \r
+ #if defined(__INCLUDE_FROM_MS_CLASS_HOST_C) \r
static uint8_t DComp_NextMSInterface(void* const CurrentDescriptor);\r
static uint8_t DComp_NextMSInterfaceEndpoint(void* const CurrentDescriptor);\r
\r