Checking for suitable sizeof(off_t)

This commit is contained in:
Thomas Schmitt 2010-05-16 17:11:49 +00:00
parent 833b3f79c9
commit 8b560cd82a
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; struct XorrisO *xorriso= NULL;
char **orig_argv= 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)) { if(strcmp(Xorriso_main_program_versioN, Xorriso_program_versioN)) {
yell_xorriso(); yell_xorriso();
fprintf(stderr, fprintf(stderr,

View File

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