#ifndef H_PLATFORM_H #define H_PLATFORM_H #ifdef _MSC_VER #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #include #undef WIN32_LEAN_AND_MEAN #else #include #include #include #include #define stricmp strcasecmp #define strnicmp strncasecmp #endif #ifdef __GNUC__ #define GNUC_ALIGN(n) __attribute__((aligned(n))) #else #define GNUC_ALIGN(n) #endif #endif // H_PLATFORM_H