Commit 2a991bba authored by Thomas Schmitt's avatar Thomas Schmitt

Making sure in cdrskin that off_t is large enough before starting libburn

parent b46f7157
......@@ -2104,6 +2104,16 @@ int Cdrpreskin_initialize_lib(struct CdrpreskiN *preskin, int flag)
int ret, major, minor, micro;
/* Needed are at least 44 bits in signed type off_t .
This is a popular mistake in configuration or compilation.
if(sizeof(off_t) < 6) {
"\ncdrskin: FATAL : Compile time misconfiguration. sizeof(off_t) too small.\n"
/* This is the minimum requirement of cdrskin towards the libburn header
at compile time.
It gets compared against the version macros in libburn/libburn.h :
#define Cdrskin_timestamP "2013.06.09.163052"
#define Cdrskin_timestamP "2013.06.28.104134"
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