summaryrefslogtreecommitdiff
path: root/evconfig-private.h.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-12 14:53:39 -0400
committerNick Mathewson <nickm@torproject.org>2011-09-12 14:53:39 -0400
commit8a2310408faf94ee38f53c04c5e56566d34f7a13 (patch)
treef77647c48288e7818e456a5a8694f5febab0774e /evconfig-private.h.in
parente20eabd69a43d40d199de6efbddf3105273df19b (diff)
downloadlibevent-8a2310408faf94ee38f53c04c5e56566d34f7a13.tar.gz
Build with large-file support on platforms where it matters
Some hosts require you to define certain options to get a large off_t instead of a small one, to get useful ftell and fseek calls instead of ones that can only support 2GB files, and so on. This patch makes Libevent support those platforms by: * Defining the right options when we build, and * Changing our API so that it does not depend on the platform's definition of off_t. Based on discusion with Michael Herf
Diffstat (limited to 'evconfig-private.h.in')
-rw-r--r--evconfig-private.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/evconfig-private.h.in b/evconfig-private.h.in
index cffdf531..254ae509 100644
--- a/evconfig-private.h.in
+++ b/evconfig-private.h.in
@@ -24,6 +24,11 @@
# undef __EXTENSIONS__
#endif
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+/* Define for large files, on AIX-style hosts. */
+#undef _LARGE_FILES
+
/* Define to 1 if on MINIX. */
#ifndef _MINIX
#undef _MINIX