diff options
Diffstat (limited to 'gcmain.c')
-rw-r--r-- | gcmain.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gcmain.c b/gcmain.c deleted file mode 100644 index d6a04e4..0000000 --- a/gcmain.c +++ /dev/null @@ -1,28 +0,0 @@ -/* $Id: gcmain.c,v 1.2 2001/11/20 17:49:23 ukai Exp $ */ -#ifndef GC_MAIN -#define GC_MAIN - -#if defined(AIX) || defined(linux) -/* to cope with Boehm GC... */ - -#define MAIN real_main - -#if defined(DEBIAN) -#include "gc/private/gc_priv.h" -#else -#include "private/gc_priv.h" -#endif -int real_main(int, char **, char **); - -int -main(int argc, char **argv, char **envp) -{ - int dummy; - GC_stackbottom = (ptr_t) (&dummy); - return (real_main(argc, argv, envp)); -} -#else -#define MAIN main -#endif - -#endif |