mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* configure.in: check for the whether crt_externs.h is present when compiling
for darwin (this header is missing in the iOS SDK) * eval_intern.h: check HAVE_CRT_EXTERNS_H before including crt_externs.h, if not defined, include missing/crt_externs.h instead * hash.c: ditto * missing/setproctitle.c: ditto * missing/crt_externs.h: declare _NSGetEnviron() function and define environ for iOS git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
80b0c6ca3b
commit
af35f2a61d
6 changed files with 42 additions and 5 deletions
|
@ -28,7 +28,11 @@
|
|||
#include <setjmp.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <crt_externs.h>
|
||||
# ifdef HAVE_CRT_EXTERNS_H
|
||||
# include <crt_externs.h>
|
||||
# else
|
||||
# include "missing/crt_externs.h"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRING_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue