mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 11:55:30 +00:00
vc13 support.
This commit is contained in:
parent
672f7740d8
commit
ab3ade86d6
@ -138,7 +138,9 @@
|
||||
#ifndef STDOUT_FILENO
|
||||
#define STDOUT_FILENO 1
|
||||
#endif
|
||||
#if (_MSC_VER < 1900)
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
#define isatty _isatty
|
||||
#define write win32_write
|
||||
#define read _read
|
||||
@ -1911,7 +1913,9 @@ inline const std::vector<std::string>& GetHistory() {
|
||||
} // namespace linenoise
|
||||
|
||||
#ifdef _WIN32
|
||||
#if (_MSC_VER < 1900)
|
||||
#undef snprintf
|
||||
#endif
|
||||
#undef isatty
|
||||
#undef write
|
||||
#undef read
|
||||
|
Loading…
Reference in New Issue
Block a user