[Cleanup] GC longjmp macros

From: Michal Rokos <m.rokos@...>
Date: 2002-08-05 13:51:02 UTC
List: ruby-core #297
Hi,

	I think that these lines are odd in gc.c

		Michal


Index: gc.c
===================================================================
RCS file: /src/ruby/gc.c,v
retrieving revision 1.95
diff -u -r1.95 gc.c
--- gc.c	2002/07/26 06:12:38	1.95
+++ gc.c	2002/08/05 13:47:50
@@ -33,13 +33,6 @@
 void re_free_registers _((struct re_registers*));
 void rb_io_fptr_finalize _((struct OpenFile*));
 
-#ifndef setjmp
-#ifdef HAVE__SETJMP
-#define setjmp(env) _setjmp(env)
-#define longjmp(env,val) _longjmp(env,val)
-#endif
-#endif
-
 /* Make alloca work the best possible way.  */
 #ifndef __GNUC__
 # if HAVE_ALLOCA_H

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michal Rokos                         Czech Technical University, Prague
E-mail:m.rokos@sh.cvut.cz      ICQ:36118339      Jabber:majkl@jabber.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

In This Thread

Prev Next