On Thursday 01 August 2002 00:35, Max Berger wrote:
Hi,
The problem: cygwin doesn't provide inttypes.h
solution for cpuinfo: cpuinfo doesn't even need inttypes.h in cygwin
the solution: inttypes.h is always included with #include <inttypes.h>
which means, search the common dir (/usr/include) first, THEN search local dir. so we'll just supply a local inttypes.h in the main directory and make sure it only applies to cgywin and can be included from everywhere.
Comments? yes, I once did exactly the same, but then I decided to simply put the cygwin_inttypes.h into /usr/include as it needs a lot less changes, especially not to external libs' makefiles.
mfG
Max Berger
-- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________