summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 10:42:11 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 10:42:11 +0000
commitdea25537a5d94e295dcc865c4f68483de620cab7 (patch)
treeaa83996dd14004afba566ca6bc6fcbc613b3223e
parent870fbf44d5c2df497e6117f231e46915b4233512 (diff)
merge from trunk (r28772)
* include/ruby/missing.h: shouldn't declare as dllimport when building ruby itself (for Windows). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--missing.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bbef4ef90..6ce7975528 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jul 28 19:41:37 2010 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * include/ruby/missing.h: shouldn't declare as dllimport when building
+ ruby itself (for Windows).
+
Wed Jul 28 17:11:48 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* missing/*.c: include missing.h
diff --git a/missing.h b/missing.h
index 6879635040..2b3bb16e5d 100644
--- a/missing.h
+++ b/missing.h
@@ -65,6 +65,9 @@ struct timezone {
};
#endif
+#ifdef RUBY_EXPORT
+#undef RUBY_EXTERN
+#endif
#ifndef RUBY_EXTERN
#define RUBY_EXTERN extern
#endif