#ifndef __OS_H #define __OS_H #if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) # define SYS_WINDOWS # if defined __MINGW32__ # define COMP_MINGW # elif defined __CYGWIN__ # define COMP_CYGWIN # else # define COMP_MSC # endif #else # define COMP_GCC # define SYS_UNIX # if defined(__bsdi__) || defined(__FreeBSD__) # define SYS_BSD # else # define SYS_LINUX # endif #endif #if defined(COMP_MSC) # define PACKAGE "mkvtoolnix" # define VERSION "0.4.4" # define strncasecmp _strnicmp # define strcasecmp _stricmp # define nice(a) # define vsnprintf _vsnprintf # define vfprintf _vfprintf #endif // COMP_MSC #if !defined(COMP_CYGWIN) #include #endif // !COMP_CYGWIN #endif