Hi! what about #if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) in front of the constant macros for visual c to emulate the behaviour of stdint.h more precisely? -Jochen