[Ffmpeg-devel] stdint.h and inttypes.h for non-C99 compilers
Luca Barbato
lu_zero
Mon Dec 11 21:33:32 CET 2006
Alexander Chemeris wrote:
> Hello,
>
> I wrote inttypes.h and stdint.h that should conform to C99 Standard.
> They depends on internal Visual Studio headers, thus does not portable
> to any other compilers. But for Visual Studio they work well. Check them
> here:
> http://msinttypes.googlecode.com/svn/trunk/stdint.h
> http://msinttypes.googlecode.com/svn/trunk/inttypes.h
> Any constructive notes on this implementation are welcome.
>
just read it, am I wrong?
#define UINT_FAST64_MAX UINT64_MAX
// 7.18.2.4 Limits of integer types capable of holding object pointers
-#ifdef _WIN64 // [
+#ifndef _WIN64 // [
# define INTPTR_MIN INT32_MIN
# define INTPTR_MAX INT32_MAX
# define UINTPTR_MAX UINT32_MAX
lu
--
Luca Barbato
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
More information about the ffmpeg-devel
mailing list