Basically I want to use the preprocessor to define LLONG as long long or whatever alternative there is. I've been googling it for a while now and have finally given up, any help is welcome.
Edit:Please do not mention stdint.h or limits.h I am trying to write a header that does NOT rely on these. Also I'd like a c89/c90 solution please.
Well I know that long long isn't always available but alternatives such as long int are usually available in that event and if there is absolutely no built in alternative then I'd like a struct to take it's place if possible.
was meant to be isn't, I since corrected that typo. Point is I'm sure I read somewhere that there was alternative types when long long is not available, if I'm wrong then please correct me.
I read somewhere that there was alternative types when long long is not available
Yes, 15+ years ago, before this practice was standardized by C99, different vendors had differently-named 64-bit types. Microsoft had __int64, many platforms used not-yet-standard int64_t/uint64_t, some just made unsignedlong 64-bit.
I'd like a c89/c90 solution
Use gint64 from glib, or any other general-purpose C library that's old enough. It is counter-productive to do that work yourself.
Ah well, I couldn't find anything new in their headers, just __int64 which I already knew about, any other suggestions? Even page that mentions compiler specific integers will be welcome.