A
Ashabul Yeameen
Hi all,
I am writing a C program which at some certain steps needs to use the
wide character funcion fputwc() for giving utf-8 output. Since I want
to make the code more portable, I wrote my own fputwc() function. But
I want to use my own funcion in the case where the compiler does not
supply this funcion. Is there any way, i.e. any preprocessor
directive, to know whether the supports wide character or not.
-Yeameen
I am writing a C program which at some certain steps needs to use the
wide character funcion fputwc() for giving utf-8 output. Since I want
to make the code more portable, I wrote my own fputwc() function. But
I want to use my own funcion in the case where the compiler does not
supply this funcion. Is there any way, i.e. any preprocessor
directive, to know whether the supports wide character or not.
-Yeameen