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
16
dln.h
16
dln.h
@ -13,22 +13,6 @@
|
|||||||
|
|
||||||
#include "ruby/defines.h" /* for RUBY_SYMBOL_EXPORT_BEGIN */
|
#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
|
RUBY_SYMBOL_EXPORT_BEGIN
|
||||||
|
|
||||||
#ifndef DLN_FIND_EXTRA_ARG
|
#ifndef DLN_FIND_EXTRA_ARG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user