Aegisub/libass/msvc.h
Rodrigo Braz Monteiro afc5bf9527 libass patched to build on MSVC.
Originally committed to SVN as r1036.
2007-04-09 02:13:03 +00:00

20 lines
362 B
C

#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