Checking for suitable sizeof(off_t)

This commit is contained in:
Thomas Schmitt 2010-05-16 17:11:49 +00:00
parent 8097dd57ab
commit 2bb5d973c3
2 changed files with 7 additions and 1 deletions

View File

@ -132,6 +132,12 @@ int main(int argc, char **argv)
struct XorrisO *xorriso= NULL;
char **orig_argv= NULL;
if(sizeof(off_t) < 8) {
yell_xorriso();
fprintf(stderr,
"xorriso : FATAL : Compile time misconfiguration. sizeof(off_t) too small.\n\n");
exit(4);
}
if(strcmp(Xorriso_main_program_versioN, Xorriso_program_versioN)) {
yell_xorriso();
fprintf(stderr,

View File

@ -1 +1 @@
#define Xorriso_timestamP "2010.05.16.113100"
#define Xorriso_timestamP "2010.05.16.171056"