ruby-changes:62374
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Thu, 23 Jul 2020 14:30:29 +0900 (JST)
Subject: [ruby-changes:62374] ff397d0016 (master): dln.h: delete unused codes
https://git.ruby-lang.org/ruby.git/commit/?id=ff397d0016 From ff397d0016b515c8a998ece4a73168c0c6061f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Wed, 22 Jul 2020 16:18:01 +0900 Subject: dln.h: delete unused codes defines.h already has them. Also __cplusplus can never be defined here. diff --git a/dln.h b/dln.h index d899963..99106fd 100644 --- a/dln.h +++ b/dln.h @@ -13,22 +13,6 @@ https://github.com/ruby/ruby/blob/trunk/dln.h#L13 #include "ruby/defines.h" /* for RUBY_SYMBOL_EXPORT_BEGIN */ -#ifdef __cplusplus -# ifndef HAVE_PROTOTYPES -# define HAVE_PROTOTYPES 1 -# endif -# ifndef HAVE_STDARG_PROTOTYPES -# define HAVE_STDARG_PROTOTYPES 1 -# endif -#endif - -#undef _ -#ifdef HAVE_PROTOTYPES -# define _(args) args -#else -# define _(args) () -#endif - RUBY_SYMBOL_EXPORT_BEGIN #ifndef DLN_FIND_EXTRA_ARG -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/