mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
af35f2a61d
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
8 lines
144 B
C
8 lines
144 B
C
#ifndef MISSING_CRT_EXTERNS_H
|
|
#define MISSING_CRT_EXTERNS_H
|
|
|
|
char ***_NSGetEnviron();
|
|
#undef environ
|
|
#define environ (*_NSGetEnviron())
|
|
|
|
#endif
|