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

template/ruby-runner.c.in: POSIX for setenv

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-10-03 16:28:23 +00:00
parent 69f0a1347e
commit f1fbc6b8f6
2 changed files with 2 additions and 1 deletions

View file

@ -256,7 +256,7 @@ ruby-runner.c: template/ruby-runner.c.in
@./config.status --file=$@:$(srcdir)/template/$(@F).in @./config.status --file=$@:$(srcdir)/template/$(@F).in
ruby-runner$(EXEEXT): ruby-runner.c ruby-runner$(EXEEXT): ruby-runner.c
$(Q) $(PURIFY) $(CC) $(LDFLAGS) $(LIBS) $(OUTFLAG)$@ ruby-runner.c $(Q) $(PURIFY) $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LIBS) $(OUTFLAG)$@ ruby-runner.c
$(RBCONFIG): $($(CROSS_COMPILING:no=)PREP) $(RBCONFIG): $($(CROSS_COMPILING:no=)PREP)

View file

@ -1,3 +1,4 @@
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>