зеркало из https://github.com/github/ruby.git
* 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:
Родитель
083b923ea8
Коммит
6904c66257
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче