C99 stdint.h header and MS Visual Studio C99 stdint.h header and MS Visual Studio c c

C99 stdint.h header and MS Visual Studio


Just define them yourself.

#ifdef _MSC_VERtypedef __int32 int32_t;typedef unsigned __int32 uint32_t;typedef __int64 int64_t;typedef unsigned __int64 uint64_t;#else#include <stdint.h>#endif


Update: Visual Studio 2010 and Visual C++ 2010 Express both have stdint.h. It can be found in C:\Program Files\Microsoft Visual Studio 10.0\VC\include