ruby-changes:10567
From: nobu <ko1@a...>
Date: Sun, 8 Feb 2009 19:10:15 +0900 (JST)
Subject: [ruby-changes:10567] Ruby:r22123 (trunk): * include/ruby/backward/rubysig.h: extern "C" was missing.
nobu 2009-02-08 19:05:26 +0900 (Sun, 08 Feb 2009) New Revision: 22123 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22123 Log: * include/ruby/backward/rubysig.h: extern "C" was missing. [ruby-core:21929] Modified files: trunk/ChangeLog trunk/include/ruby/backward/rubysig.h Index: include/ruby/backward/rubysig.h =================================================================== --- include/ruby/backward/rubysig.h (revision 22122) +++ include/ruby/backward/rubysig.h (revision 22123) @@ -20,6 +20,13 @@ #define RUBYSIG_H #include "ruby/ruby.h" +#if defined(__cplusplus) +extern "C" { +#if 0 +} /* satisfy cc-mode */ +#endif +#endif + struct rb_blocking_region_buffer; RUBY_EXTERN struct rb_blocking_region_buffer *rb_thread_blocking_region_begin(void); RUBY_EXTERN void rb_thread_blocking_region_end(struct rb_blocking_region_buffer *); @@ -30,4 +37,12 @@ #define ENABLE_INTS (1) #define ALLOW_INTS do {CHECK_INTS;} while (0) #define CHECK_INTS rb_thread_check_ints() + +#if defined(__cplusplus) +#if 0 +{ /* satisfy cc-mode */ #endif +} /* extern "C" { */ +#endif + +#endif Index: ChangeLog =================================================================== --- ChangeLog (revision 22122) +++ ChangeLog (revision 22123) @@ -1,3 +1,8 @@ +Sun Feb 8 19:05:24 2009 Nobuyoshi Nakada <nobu@r...> + + * include/ruby/backward/rubysig.h: extern "C" was missing. + [ruby-core:21929] + Sun Feb 8 18:46:15 2009 Tanaka Akira <akr@f...> * ext/socket/ancdata.c (anc_inspect_passcred_credentials): new -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/