Arkania/ArkCORE — Issue #4: For compile FreeBSD 64bit
Author: oneevil
Created: 2011-10-12 14:59:56+00:00
State: open

add this code in file /dep/g3dlite/source/FileSystem.cpp:

# define stat64 stat
# define O_LARGEFILE 0100000

Before:
#define stat64 _stat64
#else
# include
# include
# include
# define _getcwd getcwd
# define _stat stat
#endif

After:
#define stat64 _stat64
#else
# define stat64 stat
# include
# include
# include
# define O_LARGEFILE 0100000
# define _getcwd getcwd
# define _stat stat
#endif