Commit e787d328 authored by Thomas Schmitt's avatar Thomas Schmitt

Let libburner warn programmers if they forget to set 64 bit off_t

parent fafc190f
#define Cdrskin_timestamP "2010.03.29.103141" #define Cdrskin_timestamP "2010.04.04.181237"
...@@ -732,6 +732,13 @@ int main(int argc, char **argv) ...@@ -732,6 +732,13 @@ int main(int argc, char **argv)
{ {
int ret; int ret;
/* A warning to programmers who start their own projekt from here. */
if (sizeof(off_t) != 8) {
"\nFATAL: Compile time misconfiguration. off_t is not 64 bit.\n\n");
ret = libburner_setup(argc, argv); ret = libburner_setup(argc, argv);
if (ret) if (ret)
exit(ret); exit(ret);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment