aboutsummaryrefslogtreecommitdiffstats
path: root/oniguruma.h
diff options
context:
space:
mode:
authorkosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-23 12:01:58 +0000
committerkosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-23 12:01:58 +0000
commitd5a00279f44dcb9dcd37c767bcd2c51a5101431d (patch)
treeb1e293d0baac3b58f50d661354250fdd4f56ebbf /oniguruma.h
parentb6ec2b7c6de88f457d480e9a6892b84c133bd92c (diff)
downloadruby-d5a00279f44dcb9dcd37c767bcd2c51a5101431d.tar.gz
merge Oniguruma 4.4.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'oniguruma.h')
-rw-r--r--oniguruma.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/oniguruma.h b/oniguruma.h
index b1e8b38f74..a29e2e52c6 100644
--- a/oniguruma.h
+++ b/oniguruma.h
@@ -36,7 +36,7 @@ extern "C" {
#define ONIGURUMA
#define ONIGURUMA_VERSION_MAJOR 4
#define ONIGURUMA_VERSION_MINOR 4
-#define ONIGURUMA_VERSION_TEENY 0
+#define ONIGURUMA_VERSION_TEENY 4
#ifdef __cplusplus
# ifndef HAVE_PROTOTYPES
@@ -47,6 +47,13 @@ extern "C" {
# endif
#endif
+/* escape Mac OS X/Xcode 2.4/gcc 4.0.1 problem */
+#if defined(__APPLE__) && defined(__GNUC__) && __GNUC__ >= 4
+# ifndef HAVE_STDARG_PROTOTYPES
+# define HAVE_STDARG_PROTOTYPES 1
+# endif
+#endif
+
#ifndef P_
#if defined(__STDC__) || defined(_WIN32)
# define P_(args) args