summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-15 16:18:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-15 16:18:01 +0000
commit2061745dd6ae861df0b4614a5b24aca19c7dc0d7 (patch)
tree6b53bf8c0ad834eae28560c351681fb8a990aeca /win32
parent7b485780a5dda526edd91ac43a89f6b01c51ffbb (diff)
downloadruby-2061745dd6ae861df0b4614a5b24aca19c7dc0d7.tar.gz
ruby-2061745dd6ae861df0b4614a5b24aca19c7dc0d7.tar.xz
ruby-2061745dd6ae861df0b4614a5b24aca19c7dc0d7.zip
* win32/win32.c (_CrtDbgReportW): prevent from false positive
assertions in msvcrtd. [ruby-core:22116] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 4c92ef19b..ead75f37d 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -4873,3 +4873,5 @@ rb_w32_fsopen(const char *path, const char *mode, int shflags)
return f;
}
#endif
+
+RUBY_EXTERN int __cdecl _CrtDbgReportW() {return 0;}