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

* include/ruby/ruby.h: Removed RUBY_GLOBAL_SETUP complely. It is

no meaning definition since r24894.
* main.c: ditto.
* nacl/pepper_main.c: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2012-07-09 15:53:02 +00:00
parent fe0b5d498b
commit 428a5a9cd9
4 changed files with 7 additions and 11 deletions

View file

@ -1,3 +1,10 @@
Tue Jul 10 00:44:41 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* include/ruby/ruby.h: Removed RUBY_GLOBAL_SETUP complely. It is
no meaning definition since r24894.
* main.c: ditto.
* nacl/pepper_main.c: ditto.
Mon Jul 9 23:59:36 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* dln.c: Simplify and make consistent an ifdef for Mac OS X.

View file

@ -1485,13 +1485,6 @@ int ruby_vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
*/
typedef void *ruby_opaque_t;
/*! @deprecated You no longer need to use this macro. */
#if (defined(__APPLE__) || defined(__NeXT__)) && defined(__MACH__)
#define RUBY_GLOBAL_SETUP /* use linker option to link startup code with ObjC support */
#else
#define RUBY_GLOBAL_SETUP
#endif
/** @defgroup ruby1 ruby(1) implementation
* A part of the implementation of ruby(1) command.
* Other programs that embed Ruby interpreter do not always need to use these

2
main.c
View file

@ -19,8 +19,6 @@
#include <stdlib.h>
#endif
RUBY_GLOBAL_SETUP
int
main(int argc, char **argv)
{

View file

@ -29,8 +29,6 @@
#include "ruby/ruby.h"
#include "gc.h"
RUBY_GLOBAL_SETUP
#ifdef HAVE_STRUCT_PPB_CORE
typedef struct PPB_Core PPB_Core;
#endif