зеркало из https://github.com/github/ruby.git
* configure.in (RUBY_EXTERN): FUNCTION-BODY was missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
90bf911fec
Коммит
3afa01255d
|
@ -1,3 +1,7 @@
|
|||
Thu Jul 22 03:23:03 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RUBY_EXTERN): FUNCTION-BODY was missing.
|
||||
|
||||
Thu Jul 22 03:02:55 2010 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* README.EXT: fix signature of rb_ensure and rb_rescue to match
|
||||
|
|
|
@ -740,6 +740,7 @@ AC_CACHE_CHECK([for RUBY_EXTERN], rb_cv_ruby_extern,
|
|||
for mac in "__attribute__((dllimport))" "__declspec(dllimport)"; do
|
||||
AC_TRY_COMPILE(
|
||||
[extern $mac void conftest(void);],
|
||||
[conftest();],
|
||||
[rb_cv_ruby_extern="extern $mac"; break])
|
||||
done])
|
||||
test "x$rb_cv_ruby_extern" = xno || AC_DEFINE_UNQUOTED(RUBY_EXTERN, $rb_cv_ruby_extern)
|
||||
|
|
Загрузка…
Ссылка в новой задаче