Commit f58b426d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Typedef uint32_t when needed.

parent 0d797458
......@@ -147,4 +147,16 @@ int inet_aton (const char *, struct in_addr *);
typedef unsigned int socklen_t;
#endif
#if !HAVE_UINT32_T
# if SIZEOF_INT == 4
typedef unsigned int uint32_t;
# elif SIZEOF_LONG == 4
typedef unsigned long uint32_t;
# else
# error Cannot find a 32-bit type on this platform
# endif
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment