[MLton] Re: Two more mingw methods
Wesley W. Terpstra
terpstra@gkec.tu-darmstadt.de
Wed, 8 Dec 2004 04:46:48 +0100
On Wed, Dec 08, 2004 at 03:33:50AM +0100, Wesley W. Terpstra wrote:
> Not quite as trivial as the other two.
> Obviously, I have not tested uname() on all these platforms.
> I only hope it's correct from reading msdn.com.
This appears to be relatively new:
> + case PROCESSOR_ARCHITECTURE_AMD64: platform = "amd64"; break;
... it is only defined on one of my mingw platforms.
An
#ifndef PROCESSOR_ARCHITECTURE_AMD64
#define PROCESSOR_ARCHITECTURE_AMD64 9
#endif
might be in order, what do you think?
Require the newest version, or introduce hack. =)
--
Wesley W. Terpstra <wesley@terpstra.ca>