summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2014-01-08 12:30:02 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2014-01-08 12:30:02 (GMT)
commit20cf04be9a675cc34ead5948453e8908e459b1a0 (patch)
tree5b816bfe3650d572c9726a9f6f9c01ab0671ac41
parent249de3aa43894b71edf7c27e9cfc379cc83aa0ed (diff)
More fixes to avoid redefinition of PRId64.
-rw-r--r--include/tng_io.h3
1 files changed, 3 insertions, 0 deletions
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 */
contact: Jan Huwald // Impressum