1
0
Fork 0
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:
卜部昌平 2020-07-22 16:18:01 +09:00
parent c4fc737f75
commit ff397d0016
Notes: git 2020-07-23 14:30:37 +09:00

16
dln.h
View file

@ -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