mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use _tempnam instead of tempnam on Windows.
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
|
||||
#include "mruby.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#define tempnam _tempnam
|
||||
#endif
|
||||
|
||||
mrb_value
|
||||
mrb_sockettest_tmppath(mrb_state *mrb, mrb_value klass)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user