[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] 0.9.22 versus linux large file support
From: |
charlesrandall4-tinycc |
Subject: |
[Tinycc-devel] 0.9.22 versus linux large file support |
Date: |
Wed, 17 Nov 2004 02:29:07 -0800 (PST) |
[Apologies if this is a duplicate message. I never saw
the original make it to the list.]
I've narrowed the following problem down trying to
build patch-2.5.4.
The define in the code below is neccesary to build
patch using tcc, but not with gcc.
Defining _LARGEFILE_SOURCE doesn't help.
It appears that this may be an error in the header
files.
Any other ideas?
-Charles
/* backupfile.c */
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
#include <dirent.h>
#ifdef __TINYC__
#define dirent dirent64
#endif
int x(char *dir)
{
DIR *dirp;
struct dirent *dp;
dp = readdir (dirp);
return 1;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] 0.9.22 versus linux large file support,
charlesrandall4-tinycc <=