X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRts.h;h=91ec76d4675de9f11eb476f76e4e45a04839ae7b;hb=8897257e5b8f7eda019234186849523e552cc877;hp=51351fab0d595717926f0fb020ccfd97ce7bdd46;hpb=b6fff39114fee90b806ed2e29cc8f5d9728d85a8;p=ghc-hetmet.git diff --git a/includes/Rts.h b/includes/Rts.h index 51351fa..91ec76d 100644 --- a/includes/Rts.h +++ b/includes/Rts.h @@ -219,6 +219,12 @@ DLL_IMPORT_RTS extern char **prog_argv; /* so we can get at these from Haskell * DLL_IMPORT_RTS extern int prog_argc; DLL_IMPORT_RTS extern char *prog_name; +#ifdef mingw32_HOST_OS +// We need these two from Haskell too +void getWin32ProgArgv(int *argc, wchar_t **argv[]); +void setWin32ProgArgv(int argc, wchar_t *argv[]); +#endif + void stackOverflow(void); void stg_exit(int n) GNU_ATTRIBUTE(__noreturn__); @@ -242,9 +248,6 @@ int stg_sig_install (int, int, void *); Miscellaneous garbage -------------------------------------------------------------------------- */ -/* declarations for runtime flags/values */ -#define MAX_RTS_ARGS 32 - #ifdef DEBUG #define TICK_VAR(arity) \ extern StgInt SLOW_CALLS_##arity; \