mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
correct 64-bit build support setup
This commit is contained in:
parent
84ed9bd35b
commit
ff66e80fc0
@ -17,6 +17,7 @@
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#include "dtool_config.h"
|
||||
#include "dtoolbase.h"
|
||||
|
||||
#ifndef HAVE_GETOPT
|
||||
#include "gnu_getopt.h"
|
||||
|
@ -127,7 +127,3 @@
|
||||
// What is the syntax of the STL allocator declaration? See
|
||||
// LocalSetup.pp for allowable values.
|
||||
#define STL_ALLOCATOR GNU
|
||||
|
||||
// large file >2GB support
|
||||
#define _LARGEFILE_SOURCE 1
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
|
@ -78,6 +78,13 @@
|
||||
|
||||
#include "dtoolsymbols.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
// Large file >2GB support
|
||||
// this needs be be before systypes.h and other C headers
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
#define _LARGEFILE_SOURCE 1
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user