1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* oniguruma.h (ONIG_EXTERN): check __GNUC__ instead of __CYGWIN__.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2004-03-08 05:46:19 +00:00
parent 66e9876446
commit 945ae5eb59
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@ Mon Mar 8 13:35:32 2004 WATANABE Hirofumi <eban@ruby-lang.org>
* regparse.c (parse_exp): need to separate initialization for bcc32. * regparse.c (parse_exp): need to separate initialization for bcc32.
[ruby-dev:23169] [ruby-dev:23169]
* oniguruma.h (ONIG_EXTERN): check __GNUC__ instead of __CYGWIN__.
Mon Mar 8 01:05:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org> Mon Mar 8 01:05:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander * lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander

View file

@ -30,7 +30,7 @@
#endif #endif
#ifndef ONIG_EXTERN #ifndef ONIG_EXTERN
#if defined(_WIN32) && !defined(__CYGWIN__) #if defined(_WIN32) && !defined(__GNUC__)
#if defined(EXPORT) || defined(RUBY_EXPORT) #if defined(EXPORT) || defined(RUBY_EXPORT)
#define ONIG_EXTERN extern __declspec(dllexport) #define ONIG_EXTERN extern __declspec(dllexport)
#else #else