#ifndef _MSC_VER #error This header should only be used with Microsoft compilers #endif /* The addons below are not part of inttypes but required for syslinux */ #ifndef _SLTYPES_H_ #define _SLTYPES_H_ /* On MS environments, the inline keyword is available in C++ only */ #ifndef inline #define inline __inline #endif /* ssize_t is also not available (copy/paste from MinGW) */ #ifndef _SSIZE_T_DEFINED #define _SSIZE_T_DEFINED #undef ssize_t #ifdef _WIN64 typedef __int64 ssize_t; #else typedef int ssize_t; #endif /* _WIN64 */ #endif /* _SSIZE_T_DEFINED */ #endif