Closed GoogleCodeExporter closed 8 years ago
Sorry, what I saw instead were missing int types (uint64 I think).
Original comment by chinbill...@gmail.com
on 9 Jun 2010 at 12:20
Also, I think this a Microsoft Visual Studio issue rather than all of Windows.
Cygwin & Ming probably work. Not sure about other compilers.
Original comment by chinbill...@gmail.com
on 9 Jun 2010 at 1:38
I committed a hack to protobuf-c.h... tell me if it works out:
#ifndef PROTOBUF_C_SKIP_INTTYPES_H
# if defined(_MSC_VER)
/* On windows, in ms visual studio, define the types ourselves */
# define int32_t signed __int32
# define uint32_t unsigned __int32
# define int64_t signed __int64
# define uint64_t unsigned __int64
# define uint8_t unsigned char
# else
/* Use the system inttypes.h */
# include <inttypes.h>
# endif
#endif
Original comment by lahike...@gmail.com
on 26 Aug 2010 at 4:14
should be resolved by Nikita Manovich's patch.
Original comment by lahike...@gmail.com
on 10 Mar 2011 at 10:44
Original issue reported on code.google.com by
chinbill...@gmail.com
on 9 Jun 2010 at 12:19