mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/defines.h: Fix a compilation error with
i586-mingw32msvc-gcc of gcc-mingw32 package on Debian squeeze. ruby/missing.h should be included before include/ruby/win32.h because struct timespec, used in the clock_gettime declaration in include/ruby/win32.h, is defined in ruby/missing.h instead of system headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
21ecf88ce0
commit
dbef5ecd7a
3 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
Mon Aug 19 21:31:35 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* include/ruby/defines.h: Fix a compilation error with
|
||||||
|
i586-mingw32msvc-gcc of gcc-mingw32 package on Debian squeeze.
|
||||||
|
ruby/missing.h should be included before include/ruby/win32.h
|
||||||
|
because struct timespec, used in the clock_gettime declaration in
|
||||||
|
include/ruby/win32.h, is defined in ruby/missing.h instead of
|
||||||
|
system headers.
|
||||||
|
|
||||||
Mon Aug 19 20:55:12 2013 Koichi Sasada <ko1@atdot.net>
|
Mon Aug 19 20:55:12 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* gc.c: fix around GC_DEBUG.
|
* gc.c: fix around GC_DEBUG.
|
||||||
|
|
|
@ -65,6 +65,8 @@ extern "C" {
|
||||||
#include <setjmpex.h>
|
#include <setjmpex.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
|
|
||||||
#define RUBY
|
#define RUBY
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -1736,7 +1736,6 @@ rb_special_const_p(VALUE obj)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "ruby/missing.h"
|
|
||||||
#include "ruby/intern.h"
|
#include "ruby/intern.h"
|
||||||
|
|
||||||
#if defined(EXTLIB) && defined(USE_DLN_A_OUT)
|
#if defined(EXTLIB) && defined(USE_DLN_A_OUT)
|
||||||
|
|
Loading…
Add table
Reference in a new issue