large file support

This commit is contained in:
j 2011-08-05 12:19:04 +02:00
commit 5f6ed9b777
2 changed files with 13 additions and 3 deletions

View file

@ -16,6 +16,18 @@
* You should have received a copy of the GNU General Public License
* along with This program. If not, see <http://www.gnu.org/licenses/>.
*/
#if !defined(_GNU_SOURCE)
#define _GNU_SOURCE
#endif
#if !defined(_LARGEFILE_SOURCE)
#define _LARGEFILE_SOURCE
#endif
#if !defined(_LARGEFILE64_SOURCE)
#define _LARGEFILE64_SOURCE
#endif
#if !defined(_FILE_OFFSET_BITS)
#define _FILE_OFFSET_BITS 64
#endif
#include <assert.h>
#include <stdarg.h>