Re: [Haskell-cafe] ghc #defines

2010-04-14 Thread Ivan Lazar Miljenovic
gladst...@gladstein.com writes: I may need to put some #ifdef conditionalizations into some cross-platform code. I'm wondering where I can find the definitions of symbols like __NHC__. I tried googling but I'm swamped by uses, no definitions that I can see. Looks like they're here:

Re: [Haskell-cafe] ghc #defines

2010-04-14 Thread Thomas Schilling
__NHC__ is defined when the code is compiled with the nhc98 compiler [1]. Similarly Hugs is another Haskell implementation. [1]: http://www.haskell.org/nhc98/ On 14 April 2010 11:36, gladst...@gladstein.com wrote: I may need to put some #ifdef conditionalizations into some cross-platform