Aegisub/libass/msvc.h

21 lines
362 B
C
Raw Permalink Normal View History

#ifdef WIN32
#include <stdlib.h>
#define strtoll(p, e, b) _strtoi64(p, e, b)
#define snprintf _snprintf
#define strcasecmp stricmp
#define strncasecmp strnicmp
#ifndef M_PI
#define M_PI 3.1415926535897932384626433832795
#endif
#define __VISUALC__
#define HAVE_FONTCONFIG
#define S_IFREG 0100000
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif