mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* Makefile.in (XCFLAGS): separated as well as win32/Makefile.sub.
* main.c (always_gc): dllimport is required for VC to import a DLL symbol. fixed: [ruby-dev:28051] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									9488784157
								
							
						
					
					
						commit
						47084e129c
					
				
					 3 changed files with 12 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,10 @@
 | 
			
		|||
Mon Dec 19 23:30:59 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* Makefile.in (XCFLAGS): separated as well as win32/Makefile.sub.
 | 
			
		||||
 | 
			
		||||
	* main.c (always_gc): dllimport is required for VC to import a DLL
 | 
			
		||||
	  symbol.  fixed: [ruby-dev:28051]
 | 
			
		||||
 | 
			
		||||
Mon Dec 19 23:09:24 2005  Hirokazu Yamamoto  <ocean@m2.ccsnet.ne.jp>
 | 
			
		||||
 | 
			
		||||
	* st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -33,7 +33,8 @@ RIDATADIR = $(DESTDIR)$(datadir)/ri/$(MAJOR).$(MINOR)/system
 | 
			
		|||
empty =
 | 
			
		||||
OUTFLAG = @OUTFLAG@$(empty)
 | 
			
		||||
CFLAGS = @CFLAGS@ @XCFLAGS@ @ARCH_FLAG@
 | 
			
		||||
CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@
 | 
			
		||||
XCFLAGS = -I. -I$(srcdir)
 | 
			
		||||
CPPFLAGS = @CPPFLAGS@
 | 
			
		||||
LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@
 | 
			
		||||
EXTLDFLAGS = 
 | 
			
		||||
XLDFLAGS = @XLDFLAGS@ $(EXTLDFLAGS)
 | 
			
		||||
| 
						 | 
				
			
			@ -157,7 +158,7 @@ lex.c: keywords
 | 
			
		|||
	$(YACC) $(YFLAGS) -o $@ $<
 | 
			
		||||
 | 
			
		||||
.c.@OBJEXT@:
 | 
			
		||||
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 | 
			
		||||
	$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c $<
 | 
			
		||||
 | 
			
		||||
clean-local::
 | 
			
		||||
	@$(RM) ext/extinit.c ext/extinit.$(OBJEXT)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3
									
								
								main.c
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								main.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -10,6 +10,7 @@
 | 
			
		|||
 | 
			
		||||
**********************************************************************/
 | 
			
		||||
 | 
			
		||||
#undef RUBY_EXPORT
 | 
			
		||||
#include "ruby.h"
 | 
			
		||||
 | 
			
		||||
#if defined(__MACOS__) && defined(__MWERKS__)
 | 
			
		||||
| 
						 | 
				
			
			@ -25,7 +26,7 @@ int
 | 
			
		|||
main(int argc, char **argv, char **envp)
 | 
			
		||||
{
 | 
			
		||||
#ifdef RUBY_GC_DEBUG
 | 
			
		||||
    extern int always_gc;
 | 
			
		||||
    RUBY_EXTERN int always_gc;
 | 
			
		||||
    always_gc = getenv("RUBY_ALWAYS_GC") != NULL;
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef _WIN32
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue