ruby-changes:2070
From: ko1@a...
Date: 29 Sep 2007 08:57:40 +0900
Subject: [ruby-changes:2070] nobu - Ruby:r13561 (trunk): * include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
nobu 2007-09-29 08:57:17 +0900 (Sat, 29 Sep 2007)
New Revision: 13561
Modified files:
trunk/ChangeLog
trunk/include/ruby/win32.h
Log:
* include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/win32.h?r1=13561&r2=13560
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13561&r2=13560
Index: include/ruby/win32.h
===================================================================
--- include/ruby/win32.h (revision 13560)
+++ include/ruby/win32.h (revision 13561)
@@ -192,9 +192,9 @@
extern int rb_w32_fstat(int, struct stat *);
#endif
-#define strcasecmp(s1, s2) stricmp(s1, s2)
-#define strncasecmp(s1, s2, n) strnicmp(s1, s2, n)
-#define fsync(h) _commit(h)
+#define strcasecmp stricmp
+#define strncasecmp strnicmp
+#define fsync _commit
#ifdef __MINGW32__
struct timezone {
Index: ChangeLog
===================================================================
--- ChangeLog (revision 13560)
+++ ChangeLog (revision 13561)
@@ -1,3 +1,7 @@
+Sat Sep 29 08:57:15 2007 Nobuyoshi Nakada <nobu@r...>
+
+ * include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
+
Sat Sep 29 06:47:29 2007 Nobuyoshi Nakada <nobu@r...>
* ruby.c (struct cmdline_options): static variables packed.
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml