summaryrefslogtreecommitdiffstats
path: root/include/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-10 02:24:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-10 02:24:45 +0000
commite14e360e8bf529677e7ba7a5a7ee4c6100aff2b0 (patch)
tree94734a14c219a38f8a48e280864b9d20881910f3 /include/ruby
parent241a6137c4e8d8d423269b8d62a6fd278b1f1128 (diff)
downloadruby-e14e360e8bf529677e7ba7a5a7ee4c6100aff2b0.tar.gz
ruby-e14e360e8bf529677e7ba7a5a7ee4c6100aff2b0.tar.xz
ruby-e14e360e8bf529677e7ba7a5a7ee4c6100aff2b0.zip
* include/ruby/encoding.h: not to use varargs.h since requiring C89.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/encoding.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index e67b834c0..1955a4f20 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -12,11 +12,7 @@
#ifndef RUBY_ENCODING_H
#define RUBY_ENCODING_H 1
-#ifdef HAVE_STDARG_PROTOTYPES
-# include <stdarg.h>
-#else
-# include <varargs.h>
-#endif
+#include <stdarg.h>
#include "ruby/oniguruma.h"
#define ENCODING_INLINE_MAX 1023