FreeBSD has large file support out of the box

SVN revision: 30259
This commit is contained in:
Eric Schuele 2007-06-05 21:52:15 +00:00
parent 98d9d1d9e2
commit 28b177d4c5
2 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,9 @@
#define _FILE_OFFSET_BITS 64
#endif
#ifndef __FreeBSD__
#include <features.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

View File

@ -4,10 +4,10 @@
#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64
#endif
#ifndef __USE_FILE_OFFSET64 /* for large file support */
#define __USE_FILE_OFFSET64
#endif
#ifndef __FreeBSD__
#include <features.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>