From 20cf04be9a675cc34ead5948453e8908e459b1a0 Mon Sep 17 00:00:00 2001 From: Magnus Lundborg Date: Wed, 8 Jan 2014 13:30:02 +0100 Subject: More fixes to avoid redefinition of PRId64. diff --git a/include/tng_io.h b/include/tng_io.h index 4dcb204..b6d0890 100644 --- a/include/tng_io.h +++ b/include/tng_io.h @@ -309,9 +309,12 @@ typedef unsigned __int64 uint64_t; /* From stdint.h (GNU C Library) */ /* Macros for printing format specifiers. */ /* Decimal notation. */ +#ifndef PRId64 # define PRId64 __PRI64_PREFIX "d" #endif +#endif + #endif /* USE_STD_INTTYPES_H */ -- cgit v0.10.1