mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
dln.h: delete unused codes
defines.h already has them. Also __cplusplus can never be defined here.
This commit is contained in:
parent
c4fc737f75
commit
ff397d0016
Notes:
git
2020-07-23 14:30:37 +09:00
1 changed files with 0 additions and 16 deletions
16
dln.h
16
dln.h
|
@ -13,22 +13,6 @@
|
|||
|
||||
#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
|
||||
|
|
Loading…
Add table
Reference in a new issue