aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/defines.h')
-rw-r--r--include/ruby/defines.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h
index 89e549ec19..dfc968f2e4 100644
--- a/include/ruby/defines.h
+++ b/include/ruby/defines.h
@@ -141,28 +141,11 @@ extern "C" {
#define RUBY
-#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
+#define _(args) args
#undef __
-#ifdef HAVE_STDARG_PROTOTYPES
-# define __(args) args
-#else
-# define __(args) ()
-#endif
+#define __(args) args
#ifdef __cplusplus
#define ANYARGS ...