summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorYann Droneaud <yann@droneaud.fr>2010-03-03 18:59:22 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-04 09:01:04 +0100
commit71ffb32ab8a1847f746a298ad20f7dd8b40570a0 (patch)
treeefa254b62978215ef7622eb0a75b547c8efe5be7 /runtime/rsyslog.h
parentcd8c6abcc8cea54924e55dffe820364ad98a40df (diff)
downloadrsyslog-71ffb32ab8a1847f746a298ad20f7dd8b40570a0.tar.gz
rsyslog-71ffb32ab8a1847f746a298ad20f7dd8b40570a0.tar.xz
rsyslog-71ffb32ab8a1847f746a298ad20f7dd8b40570a0.zip
Fix Large File Support (LFS) support (bug #182)
- _FILE_OFFSET_BITS must be defined before including any other system headers otherwise it does nothing. - Don't define it in rsyslog.h, let it be defined in config.h, and let ./configure script enable LFS since Autoconf provides a portable macro to enable LFS support : AC_SYS_LARGEFILE
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 0f489a7f..8979893a 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -46,15 +46,6 @@
* # End Config Settings # *
* ############################################################# */
-#ifndef NOLARGEFILE
-# undef _LARGEFILE_SOURCE
-# undef _LARGEFILE64_SOURCE
-# undef _FILE_OFFSET_BITS
-# define _LARGEFILE_SOURCE
-# define _LARGEFILE64_SOURCE
-# define _FILE_OFFSET_BITS 64
-#endif
-
/* portability: not all platforms have these defines, so we
* define them here if they are missing. -- rgerhards, 2008-03-04
*/