On Thu, Jan 27, 2005 at 06:19:51AM -0800, Simon Peyton Jones wrote: > simonpj 2005/01/27 06:19:51 PST > > Modified files: > libraries/base/Text/Regex Posix.hsc > Log: > Fix regex.h include stuff; Ross and Malcolm might want to look at the new > comment
The "hacky solution" is the only way offered by the FFI spec to specify the include for foreign imports. I gave up on that limitation some time ago, and made the Hugs build system extract the -#include options from GHC OPTIONS pragmas. I think it would be better to have a less compiler-specific equivalent, though. An INCLUDE pragma? _______________________________________________ Cvs-libraries mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-libraries
