[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] 0.9.22 versus large file support
From: |
charlesrandall4-tinycc |
Subject: |
[Tinycc-devel] 0.9.22 versus large file support |
Date: |
Tue, 16 Nov 2004 20:36:16 -0800 (PST) |
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. 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;
}
=====
Charles F. Randall, IV
address@hidden (always forwarded)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] 0.9.22 versus large file support,
charlesrandall4-tinycc <=