Microsoft C compiler compatibility

unsupported and not recommended!
This commit is contained in:
tildearrow 2022-01-17 17:44:17 -05:00
parent d828018500
commit 84e9d52d7f
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@
#include <string.h>
#include <string>
#ifdef _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
typedef std::string String;
#define MIN(a,b) (((a)<(b))?(a):(b))