diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-05-09 08:49:38 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-05-09 08:49:38 +0900 |
| commit | f4cf8ea423d8f9df1d341adba63d1416779aae8a (patch) | |
| tree | ee89b697760d7b528d4767c4ccd1534dadf42bc0 /include/mrbconf.h | |
| parent | 2e4e7f7cd15e8ccd6bc6bf8608e0f167f68e2a22 (diff) | |
| download | mruby-f4cf8ea423d8f9df1d341adba63d1416779aae8a.tar.gz mruby-f4cf8ea423d8f9df1d341adba63d1416779aae8a.zip | |
partial VC support
Diffstat (limited to 'include/mrbconf.h')
| -rw-r--r-- | include/mrbconf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h index b21388f7a..4786d8194 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -42,4 +42,9 @@ typedef intptr_t mrb_sym; # define TRUE 1 #endif +#ifdef _MSC_VER +# define inline __inline +# define snprintf _snprintf +#endif + #endif /* MRUBYCONF_H */ |
