Hi,
I tried using #define however it does seem to work in my simple example programme,
Code:
#import <stdio.h>
#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);
return 0;
}
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?