[ruby-cvs:78578] ec931ee9e1 (master): forward declare struct timespec
Unknown <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
卜部昌平 2019-12-10 11:42:29 +0900 (Tue, 10 Dec 2019)
New Revision: ec931ee9e1
https://github.com/ruby/ruby/commit/ec931ee9e1
Log:
forward declare struct timespec
... like we do so for struct timeval at several hundreds of lines above.
Depending on OS/Compiler, this can be the first place for the struct to
appear. To make sure the struct is global, we need a forward
declaration at this point.
Modified files:
include/ruby/intern.h