Added a capability of handing large files over 2GB.
Support files over 2GB
Hm, offset_t doesn't seem to be a standard type. Can't find any official information about it. I'd rather stick to the standard types, which seems to be off_t from sys/types.h.
offset_t isn't a standard type. I defined it.
As you say, normally, off_t is good for the case like this. But off_t is 32-bit in VC++ and not suitable for handling lage files.
The solutions I've come up with are:
Ah, sorry, I missed the typedef. I guess it's ok as it is then.
If we're creating a typedef'ed type anyway, is there a reason to use the type_t convention?
Somebody could suggest a better name for offset_t?
Sorry this stayed open for so long. I do not have a suggestion for a better name, so I'll merge it. It's in the taglib2, so it can be still changed later.