Enable pthread_getspecific() tls for LLVM compiler
[ghc.git] / rts / RtsMain.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 2009
4 *
5 * Entry point for standalone Haskell programs.
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #ifndef RTSMAIN_H
10 #define RTSMAIN_H
11
12 /* -----------------------------------------------------------------------------
13 * The entry point for Haskell programs that use a Haskell main function
14 * -------------------------------------------------------------------------- */
15
16 int hs_main(int argc, char *argv[], StgClosure *main_closure)
17 GNUC3_ATTRIBUTE(__noreturn__);
18
19 #endif /* RTSMAIN_H */