Use underbar'ed name to get rid of warnings

This commit is contained in:
U.Nakamura
2016-09-21 12:59:36 +09:00
parent e5fedaf67f
commit 37d2d57d63
+1 -1
View File
@@ -13,7 +13,7 @@ printstr(mrb_state *mrb, mrb_value obj)
{
if (mrb_string_p(obj)) {
#if defined(_WIN32)
if (isatty(fileno(stdout))) {
if (_isatty(_fileno(stdout))) {
DWORD written;
int mlen = RSTRING_LEN(obj);
char* utf8 = RSTRING_PTR(obj);