From 89249e32fcdcba46bb5c55383215339ebd5a68ec Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 6 Feb 2009 23:48:25 +0000 Subject: Patch for bug #704 by Darom, allows for 64 bit file offsets, so that signal 25 isnt raised if there is a 2gb logfile (really, WATCH YOUR LOGS) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11035 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index cbeb89713..40f9c23f4 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -14,6 +14,11 @@ #ifndef __INSPIRCD_H__ #define __INSPIRCD_H__ +#define _FILE_OFFSET_BITS 64 +#ifndef _LARGEFILE_SOURCE +#define _LARGEFILE_SOURCE +#endif + #ifndef WIN32 #define DllExport #define CoreExport -- cgit v1.2.3