I tried using #define however it does seem to work in my simple example programme,
It seems that I will have to find/replace everything. This is a shame as I will have to keep track of two code bases which do the same thing! Maybe I can make some sort of script to do the changing from double to long double?
#define double long double
int main(int argc, char *argv)
unsigned doubleBytes = sizeof(double);
printf("\ndouble bytes = %u",doubleBytes);
unsigned longDoubleBytes = sizeof(long double);
printf("\nlong double bytes = %u",longDoubleBytes);