summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
author卜部昌平 <[email protected]>2020-05-11 14:27:25 +0900
committer卜部昌平 <[email protected]>2020-05-11 14:56:51 +0900
commit233c2018f1b873a441af22848cee6dedaed3ad72 (patch)
tree74b30ad8ca8dd5c08a94660543c02a428b0e9464 /include/ruby
parent534277fa7b3b8aa7c25db51af0c1b32e7dfa6139 (diff)
drop varargs.h support
This header file is simply out of date (for decades since at least 1989). It's the 21st century. Just stop using it.
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/intern.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 9ca521ad4f..2480e2e703 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -15,11 +15,7 @@
#include "ruby/internal/config.h"
#include "ruby/defines.h"
-#ifdef HAVE_STDARG_PROTOTYPES
-# include <stdarg.h>
-#else
-# include <varargs.h>
-#endif
+#include <stdarg.h>
#include "ruby/st.h"