PPC NCG: Remove Darwin support
[ghc.git] / rts / RtsFlags.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The AQUA Project, Glasgow University, 1994-1997
4 * (c) The GHC Team, 1998-2006
5 *
6 * Functions for parsing the argument list.
7 *
8 * ---------------------------------------------------------------------------*/
9
10 #pragma once
11
12 #include "BeginPrivate.h"
13
14 /* Routines that operate-on/to-do-with RTS flags: */
15
16 #if defined(mingw32_HOST_OS)
17 //The returned buffer has to be freed with stgFree()
18 char* lpcwstrToUTF8(const wchar_t* utf16_str);
19 char** getUTF8Args(int* argc);
20 #endif
21 void initRtsFlagsDefaults (void);
22 void setupRtsFlags (int *argc, char *argv[], RtsConfig rtsConfig);
23 void freeRtsArgs (void);
24
25 extern RtsConfig rtsConfig;
26
27 #include "EndPrivate.h"