*
* Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
* by Larry Wall and others
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
*
*/
/*
* "The Road goes ever on and on, down from the door where it began."
*/
#ifdef OEMVS
#ifdef MYMALLOC
/* sbrk is limited to first heap segement so make it big */
#else
#endif
#endif
#include "EXTERN.h"
#define PERL_IN_MINIPERLMAIN_C
#include "perl.h"
/* The Atari operating system doesn't have a dynamic stack. The
stack size is determined from this value. */
#endif
int
{
int exitstatus;
#ifdef PERL_GLOBAL_STRUCT
#include "perlvars.h"
#endif
/* if user wants control of gprof profiling off by default */
/* noop unless Configure is given -Accflags=-DPERL_GPROF_CONTROL */
#if defined(USE_5005THREADS) || defined(USE_ITHREADS)
/* XXX Ideally, this should really be happening in perl_alloc() or
* perl_construct() to keep libperl.a transparently fork()-safe.
* problems due to lack of a call to cancel pthread_atfork()
* handlers when shared objects that contain the handlers may
* be dlclose()d. This forces applications that embed perl to
* call PTHREAD_ATFORK() explicitly, but if and only if it hasn't
* been called at least once before in the current process.
* --GSAR 2001-07-20 */
#endif
if (!PL_do_undump) {
my_perl = perl_alloc();
if (!my_perl)
exit(1);
}
if (!exitstatus)
return exitstatus;
}
/* Register any extra external extensions */
/* Do not delete this line--writemain depends on it */
static void
{
}