summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2014-08-21 14:22:03 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2014-08-21 14:36:51 (GMT)
commit49a5d89648db2e4167f3df9bdba416c4d0ba11e8 (patch)
treebe3a90c3385b06db4bfbc8b9713e75639cd4b80c /src
parentf63d954e03a9fe5072a023bfaffdd90d7088d240 (diff)
Moved defines to support large files into tng_io.c.
Change-Id: I63eb5a7205b751228b498851fc4ce0a6b78f7857
Diffstat (limited to 'src')
-rw-r--r--src/lib/tng_io.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index 5890542..e4234a5 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -9,6 +9,12 @@
* modify it under the terms of the Revised BSD License.
*/
+#define _FILE_OFFSET_BITS 64
+/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
+#define _LARGEFILE_SOURCE
+/* Define for large files, on AIX-style hosts. */
+#define _LARGE_FILES
+
#include "tng/tng_io.h"
#ifdef USE_STD_INTTYPES_H
contact: Jan Huwald // Impressum