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?= 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. --- dln.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'dln.h') diff --git a/dln.h b/dln.h index d8999635bc..99106fd22b 100644 --- a/dln.h +++ b/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 -- cgit v1.2.1