summaryrefslogtreecommitdiff
path: root/include
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
commit53ea4c0cbdefeec9f257da577b689368a9de767f (patch)
tree94734a14c219a38f8a48e280864b9d20881910f3 /include
parentf2400eca0b30cb60273c9526b4501dbe4bcca50f (diff)
* include/ruby/encoding.h: not to use varargs.h since requiring C89.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-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 e67b834c0b..1955a4f205 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