summaryrefslogtreecommitdiff
path: root/win32/runperl.c
blob: 07e2bd6f835eb7ded328f11bcf5d848f0d47a18e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdio.h>
#include <win32io.h>

#ifndef _DLL
extern WIN32_IOSUBSYSTEM win32stdio;
#endif

extern int RunPerl(int argc, char **argv, char **env, void *iosubsystem);

int
main(int argc, char **argv, char **env)
{
#ifdef _DLL
    return (RunPerl(argc, argv, env, NULL));
#else
    return (RunPerl(argc, argv, env, &win32stdio));
#endif
}