mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
fixes for 64bit archs: don't assume a pointer is 32bit wide
This commit is contained in:
@@ -33,12 +33,16 @@
|
||||
#ifndef __FILE_H__
|
||||
#define __FILE_H__
|
||||
|
||||
#include <config.h>
|
||||
#if 0
|
||||
/* this is already done by AC_SYS_LARGEFILE */
|
||||
#include <features.h> /* make sure off_t has size 8
|
||||
in __USE_FILE_OFFSET64 mode */
|
||||
|
||||
#ifndef __USE_FILE_OFFSET64
|
||||
#error not using 64 bit file offsets
|
||||
#endif /* __USE_FILE__OFFSET64 */
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
|
Reference in New Issue
Block a user