Skip to content

Commit

Permalink
Use underbar'ed name to get rid of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
unak committed Sep 21, 2016
1 parent e5fedaf commit 37d2d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrbgems/mruby-print/src/print.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 37d2d57

Please sign in to comment.