1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2011-11-22 09:08:34 +00:00
parent 083b923ea8
commit 6904c66257
2 changed files with 6 additions and 0 deletions

View file

@ -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.

View file

@ -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)