From 07c9d292c4a127cf98da3b680036587dd305412d Mon Sep 17 00:00:00 2001 From: Joseph Lee Date: Thu, 13 Apr 2006 02:48:30 +0000 Subject: [PATCH] use 64-bit clean i/o under Linux --- dtool/Config.Linux.pp | 3 +++ dtool/LocalSetup.pp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dtool/Config.Linux.pp b/dtool/Config.Linux.pp index 0a8c8c152e..88a379657b 100644 --- a/dtool/Config.Linux.pp +++ b/dtool/Config.Linux.pp @@ -133,6 +133,9 @@ // Do we have RTTI (and )? #define HAVE_RTTI 1 +// We need 64-bit file i/o +#define __USE_LARGEFILE64 1 + // Must global operator new and delete functions throw exceptions? #define GLOBAL_OPERATOR_NEW_EXCEPTIONS 1 diff --git a/dtool/LocalSetup.pp b/dtool/LocalSetup.pp index ce3c51d5e4..f311ae7875 100644 --- a/dtool/LocalSetup.pp +++ b/dtool/LocalSetup.pp @@ -468,6 +468,9 @@ $[cdefine HAVE_LINUX_NATIVE_THREADS] /* Is the code being compiled with the Tau profiler's instrumentor? */ $[cdefine USE_TAU] +/* Define if needed to have 64-bit file i/o */ +$[cdefine __USE_LARGEFILE64] + /* Must global operator new and delete functions throw exceptions? */ $[cdefine GLOBAL_OPERATOR_NEW_EXCEPTIONS]