aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-22 09:08:34 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-22 09:08:34 +0000
commit6904c662574a4ac0968bb286f26436a4dbe0c9b3 (patch)
tree6ee158976935b9f389539196dc20b453000b5de1
parent083b923ea80ae15cb4b623bca71d92d083073da4 (diff)
downloadruby-6904c662574a4ac0968bb286f26436a4dbe0c9b3.tar.gz
* win32/win32.c (_pioinfo): need to declare _pioinfo() before using
_osfhnd and other macros which uses _pioinfo() internally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--win32/win32.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7359e3bd25..fa72628da5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Nov 22 18:07:32 2011 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * win32/win32.c (_pioinfo): need to declare _pioinfo() before using
+ _osfhnd and other macros which uses _pioinfo() internally.
+
Tue Nov 22 17:49:45 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (_pioinfo): make an inline function.
diff --git a/win32/win32.c b/win32/win32.c
index a2b24c764d..3b2e58f5cd 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -2156,6 +2156,7 @@ typedef struct {
#if !defined(__BORLANDC__)
EXTERN_C _CRTIMP ioinfo * __pioinfo[];
+static inline ioinfo* _pioinfo(int);
#define IOINFO_L2E 5
#define IOINFO_ARRAY_ELTS (1 << IOINFO_L2E)